From: Igor <altlinux@aaanet.ru> To: community@altlinux.ru Subject: [Comm] fetchmail -> postfix ->procmail Date: Sat, 03 Jan 2004 12:34:33 +0300 Message-ID: <3FF68CA9.7040505@aaanet.ru> (raw) Привет всем Есть задача, забирать fetchmail почту с разных ящиков, а procmail изменять (добавлять) к теме имя ящика с которого стащил postfix Например в исьме есть такие строки 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-- Что не так?
reply other threads:[~2004-01-03 9:34 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=3FF68CA9.7040505@aaanet.ru \ --to=altlinux@aaanet.ru \ --cc=community@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git