Главная страница


ru.linux

 
 - RU.LINUX ---------------------------------------------------------------------
 From : "Igor Oleinikov                      2:5020/400     03 Jan 2004  21:16:23
 To : All
 Subject : fetchmail -> postfix ->procmail
 -------------------------------------------------------------------------------- 
 
 Привет всем
 Есть задача, забирать fetchmail почту с разных ящиков, а procmail 
 изменять (добавлять) к теме имя ящика с которого стащил postfix
 Hапример в исьме есть такие строки
         by localhost with POP3 (fetchmail-6.2.1)
         for АЛИАС1@localhost (single-drop); Mon, 29 Dec 2003 12:31:04 
 +0300 (MSK)
 если для АЛИАС1 значит добавить в конце темы слово АЛИАС1.
 У меня даже невыходит просто заменять тему, делаю
 Сделал .rpocmailrc
 
 :O
 | formail -I "Subject: qwerty" | /usr/sbin/sendmail -t
 
 письмо доходит без каких либо изменений
 :O
 * ^From:.*root
 | formail -I "Subject: qwerty" | /usr/sbin/sendmail -t
 получаю
 
  From MAILER-DAEMON  Tue Dec 30 16:57:51 2003
 Return-Path: <>
 Delivered-To: misha@virtual.ru
 Received: by virtual.ru (Postfix)
     id 8E9CB4AB; Tue, 30 Dec 2003 16:57:51 +0300 (MSK)
 Date: Tue, 30 Dec 2003 16:57:51 +0300 (MSK)
 From: MAILER-DAEMON@virtual.ru (Mail Delivery System)
 Subject: Undelivered Mail Returned to Sender
 To: misha@virtual.ru
 MIME-Version: 1.0
 Content-Type: multipart/report; report-type=delivery-status;
     boundary="893454A8.1072792671/virtual.ru"
 Message-Id: <20031230135751.8E9CB4AB@virtual.ru>
 
 This is a MIME-encapsulated message.
 
 --893454A8.1072792671/virtual.ru
 Content-Description: Notification
 Content-Type: text/plain
 
 This is the Postfix program at host virtual.ru.
 
 I'm sorry to have to inform you that the message returned
 below could not be delivered to one or more destinations.
 
 For further assistance, please send mail to <postmaster>
 
 If you do so, please include this problem report. You can
 delete your own text from the message returned below.
 
             The Postfix program
 
 <misha@virtual.ru>: mail forwarding loop for misha@virtual.ru
 
 --893454A8.1072792671/virtual.ru
 Content-Description: Delivery error report
 Content-Type: message/delivery-status
 
 Reporting-MTA: dns; virtual.ru
 Arrival-Date: Tue, 30 Dec 2003 16:57:51 +0300 (MSK)
 
 Final-Recipient: rfc822; misha@virtual.ru
 Action: failed
 Status: 5.0.0
 Diagnostic-Code: X-Postfix; mail forwarding loop for misha@virtual.ru
 
 --893454A8.1072792671/virtual.ru
 Content-Description: Undelivered Message
 Content-Type: message/rfc822
 
 Received: by virtual.ru (Postfix, from userid 501)
     id 893454A8; Tue, 30 Dec 2003 16:57:51 +0300 (MSK)
 Delivered-To: misha@virtual.ru
 Received: by virtual.ru (Postfix, from userid 0)
     id 757E54A3; Tue, 30 Dec 2003 16:57:51 +0300 (MSK)
 To: misha@virtual.ru
 Message-Id: <20031230135751.757E54A3@virtual.ru>
 Date: Tue, 30 Dec 2003 16:57:51 +0300 (MSK)
 From: root@virtual.ru (System Administrator)
 Subject: "qwerty"
 --893454A8.1072792671/virtual.ru--
 Что не так?
 
 --- ifmail v.2.15dev5.1
  * Origin: Demos online service (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 fetchmail -> postfix ->procmail   "Igor Oleinikov   03 Jan 2004 21:16:23 
 Re: fetchmail -> postfix ->procmail   Pavel Marenyuk   04 Jan 2004 16:34:22 
 Re: fetchmail -> postfix ->procmail   "Igor Oleinikov   04 Jan 2004 16:02:45 
 Re: fetchmail -> postfix ->procmail   Pavel Marenyuk   04 Jan 2004 20:48:25 
 Re: fetchmail -> postfix ->procmail   Pavel Marenyuk   04 Jan 2004 21:08:55 
 Re: fetchmail -> postfix ->procmail   "Igor Oleinikov   04 Jan 2004 20:36:45 
 Re: fetchmail -> postfix ->procmail   Pavel Marenyuk   05 Jan 2004 19:55:06 
 Re: fetchmail -> postfix ->procmail   Aleksey Barabanov   05 Jan 2004 20:11:35 
Архивное /ru.linux/6577fc96bef6.html, оценка 3 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional