On Fri, Dec 17, 2004 at 10:41:54AM +0100,
linux(_at_)users(_dot_)gamebox(_dot_)net wrote:
I would want modify 'Subject' of mails sent to my old account, but
procmail not modify the mail, but sent them to wrong address. I
use the dynamic DNS @gianm.homelinux.org. The mail are sent to
@localhost.homelinux.org and the following error occurs: data format
error.
I attach the .procmailrc file, the undelivered mail resent to my
main mail address and the log of postfix that sent the mail to wrong
address. I use postfix, procmail and cyrus on Fedora Core 2.
--- file .procmailrc
#old account xxxxxx.com
:0 fHw
* ^TO_gianluca(_at_)xxxxxx(_dot_)com
| formail -i "Subject: ACCOUNT_DISABLE gianluca at xxxxxx.com"
Well, that recipe looks okay to me, except that you don't need the
H flag (that's the default) and setting it explicitly could cause
a problem due to a known bug. So take the H out.
Your mail logs, which I've deleted here, don't tell me much, except
that my first question is whether procmail is even seeing your
messages in order to modify them. I'd bet not. What do your
procmail logs say? (Turn on verbose logging.)
--
dman
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail