On Thu, 2003-08-07 at 21:08, Daniel Carrera wrote: > On Thu, Aug 07, 2003 at 08:48:12PM +0100, Angel Gabriel wrote: > > > I have just installed SA on my laptop, and i want to get it working, > > before i install it on my netork systems. The trouble is, all spam seems > > to STILL be getting through, without being marked. > > All that SA does is add headers to the email stating whether it is spam or > not. You still need to get procmail to do something with that > information. > > > I have this is my ~/.procmailrc > > > > > > :0fw > > | /usr/bin/spamassassin > > > > I thought that this would take all mail delivered to me, and run it by > > SA, with SA marking the messages it thinks are spam, with a big > > ***SPAM*** in the subject line. But this is not happening. > > All email delivered to you IS being run by SA and SA IS marking it as > spam. It is marked as spam by adding something like this to the header: > > X-Spam-Flag: YES > X-Spam-Status: Yes, hits=5.4 required=5.0 > tests=ALL_CONSONANTS,FROM_ENDS_IN_NUMS,HTTP_USERNAME_USED, > > The flag is in the headers, not in the subject line. > > What you probably want to do is get procmail to divert all emails with > this flag to a sepparate folder. Your ~/.procmailrc could look something > like this: > > > # First pass the email through SA: > :0fw > | /usr/bin/spamassassin > > # If it's spam, send it to the spam folder. > :0: > * ^X-Spam-Status: Yes > spam > > > Hope that helps.
I can't have procmailrc diverting mail to diffrent folders, in case of false positives, and because I sometimes retrieve the mail via POP3. I still don't know how to test if SA is actually working. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk