On Thu, 20 Nov 2003, Carlos Jorge Santos wrote: > Thanks a lot for your answer. > > The problem now is that SpamAssassin (spamc to be more precise) is > called by Qmail-Scanner, which in turn adds this headers to emails: > > Received: from [EMAIL PROTECTED] by mail.host-services.com by > uid 101 wi > (spamassassin: 2.60. Clear:RC:0:SA:1(11.3/8.0):. > Processed in 0.328309 secs); 19 Nov 2003 23:34:45 -0000 > X-Spam-Status: Yes, hits=11.3 required=8.0 > > The header X-Spam-Status shouldn't cause any trouble to sa-learn, right? > > What about the other header ? Is there any problem removing all the > Received headers ? Something like this : > > bayes_ignore_header Received > > Thanks again > Carlos Jorge Santos
In general you don't want to remove/ignore the "Received:" headers as they often provide clues about the spammyness or hammyness of a message. For example if a "Received:" header that contains a reference to 'optinsender.com' then that's a spam clue, but if it contains a reference to your CEO/Dean/president's machine then it's a ham clue (we hope ;). If there is one specific "Received:" header that is added by your local mail system you could remove that but it is probably not necessary. If the header is alway added to each message (both ham & spam) and you learn an adequate amount of both ham & spam, then that header should get a 'neutral' scoring value and thus be effectivly ignored. One question, is that header added before or after the SA processing? If after, then this is a total non-issue. ;) Dave -- Dave Funk University of Iowa <dbfunk (at) engineering.uiowa.edu> College of Engineering 319/335-5751 FAX: 319/384-0549 1256 Seamans Center Sys_admin/Postmaster/cell_admin Iowa City, IA 52242-1527 #include <std_disclaimer.h> Better is not better, 'standard' is better. B{ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk