On Sat, Oct 22, 2005 at 10:11:00PM +0200, ehd wrote: > On Sat, Oct 22, 2005 at 03:41:17PM -0400, 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. > > > Though it is certainly possible to rewrite the headers with Procmail, > if all you want is rewrite the To header depending on the result > of spam scanning, than Spamassassin can do it, just edit the config file > and uncomment/modify the corresponding lines. > That would work, but since, at this point, we only have system wide Spamassian config files, and we _do_ have user specifc .procmailrs's I would prefer to do it there.
-- U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong Terror - New York Times 9/3/1967 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]