Re: procmail/fetchmail question

2005-10-23 Thread stan
On Sun, Oct 23, 2005 at 11:25:38AM +0200, Vincent Lefevre wrote: > On 2005-10-22 22:24:39 +0200, Chrissie Brown wrote: > > stan wrote: > > >Can anyone show me how to write a procmail recipe that adds something > > >(like **SPAM** > > >to the To: header in a message? > > > > There is an optin in

Re: procmail/fetchmail question

2005-10-23 Thread Vincent Lefevre
On 2005-10-22 22:24:39 +0200, Chrissie Brown wrote: > stan wrote: > >Can anyone show me how to write a procmail recipe that adds something > >(like **SPAM** > >to the To: header in a message? > > There is an optin in spamassassin to do this. Just add the following line > > rewrite_subject 1 Th

Re: procmail/fetchmail question

2005-10-22 Thread Stephen R Laniel
On Sun, Oct 23, 2005 at 09:40:28AM +0800, phyrster wrote: > I never used spamassassin. For a one user system, how much can one benefit > form using it? Does it work well with procmail? My laptop is basically a one-user system, and still I use spamassassin. Indeed, I'm pretty sure that it's too muc

Re: procmail/fetchmail question

2005-10-22 Thread phyrster
On 22:24 Sat 22 Oct 2005, Chrissie Brown wrote: > stan wrote: > >Can anyone show me how to write a procmail recipe that adds something > >(like **SPAM** > >to the To: header in a message? > > There is an optin in spamassassin to do this. Just add the following line > > rewrite_subject 1 > > to

Re: procmail/fetchmail question

2005-10-22 Thread mikepolniak
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 mai

Re: procmail/fetchmail question

2005-10-22 Thread Vincent Lefevre
On 2005-10-22 15:41:17 -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? You can do this with formail. Something like that: TO=`formail -xTo:` :0 fhw * conditions | formail -I "To: [EMAIL PROTECTED], $TO"

Re: procmail/fetchmail question

2005-10-22 Thread Chrissie Brown
stan wrote: Can anyone show me how to write a procmail recipe that adds something (like **SPAM** to the To: header in a message? There is an optin in spamassassin to do this. Just add the following line rewrite_subject 1 to the spamassasin config file /etc/mail/spamassassin/local.cf Look

Re: procmail/fetchmail question

2005-10-22 Thread stan
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 sp

Re: procmail/fetchmail question

2005-10-22 Thread ehd
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 gettin

procmail/fetchmail question

2005-10-22 Thread stan
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 Outloo