procmail
[Top] [All Lists]

Problem using formail

2001-03-30 06:28:54
Hi All,

I have a simple procmail recipe which copies certain
emails to a list of addresses based on the contents
of the subject line. This works fine. However I 
would like to rewrite the Reply-To: header to read
my address rather than the sender.
I would have thought the following would accomplish
that:

:0c:
* ^Subject.*somestring
| formail -I"Reply-To:myaddress(_at_)mydomain"

However mails that match this dissapear. Here is the
relevent log entry.

From huw(_dot_)lynes(_at_)csc(_dot_)mrc(_dot_)ac(_dot_)uk  Thu Mar 29 14:07:31 
2001
 Subject: Re:testing
  Folder: formail -I Reply-To: bogusaddress(_at_)nowhere(_dot_)nothing          
   1833
procmail: Notified comsat: "hlynes@:formail -I Reply-To: 
bogusaddress(_at_)nowhere(_dot_)nothing"
procmail: Assigning "INCLUDERC=/home/hlynes/Procmail/testing.rc"
procmail: Match on "^subject:.*test"
procmail: Extraneous locallockfile ignored
procmail: Locking ".lock"
procmail: Unlocking ".lock"
procmail: Couldn't determine implicit lockfile from "formail"
procmail: Locking ".lock"
procmail: Executing "formail,-I,Reply-To: 
bogusaddress(_at_)nowhere(_dot_)nothing"
procmail: Assigning "LASTFOLDER=formail -I Reply-To: 
bogusaddress(_at_)nowhere(_dot_)nothing"
procmail: Unlocking ".lock"

I hope this means something to someone.

Thanks in advance,
Huw Lynes


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>