On 15:41 Sat 22 Oct , stan wrote: > Can anyone show me how to write a procmail recipe that adds something (like > **SPAM** > to the To: header in a message? > > What I'm trying to do is add this conditionaly if spamassain has labled the > message > as spam. I have a firend who is getting mail through a system with procmail. > He's > using Outlook to read it, and says that Outlook can only filter on To: lines, > so > he can't seem to get the Spamassain marked stuf put in it's own folder.
Use /usr/bin/formail -i or -I. This is from the man page. Just set it up and test it. To supersede the To: field in a header you could use: formail -i "To: [EMAIL PROTECTED]" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]