On Wed, 14 Sep 2005, Rune Kristian Viken wrote: > We're in the need of checking parts of our outgoing email for spam (read: > we've got unknown webmail users.. hugs lots of them, actually.. and some of > them have this annoying habit of sending nigeria spam) > > My question is how to get SpamAssassin to identify the spam, as the network > tests will be quite useless (all the email will be originating in a > standard format, from our own servers). Bayes will probably be quite > efficient, and so will various other local checks - but I have this nagging > feeling that the standard weighting of the rules will be too lax in this > use-case (due to nothing but content-checks triggering). > > How do we re-weight the rules, and does anyone have any good suggestions on > which checks to use? Also, checking for certain blacklisted URLs in the > messages will probably help (Someone recommended SURBL for this) .. but I > think a re-weighting will still be in order. > > Suggestions?
Set up a separate instance of spamd that will be used just for scanning your outgoing mail (obviously this will have to be done with your local system configuration). Run that spamd with the '-L' option to disable network checks. One effect of doing that is to cause SA to choose an alternative scoring set that has been weighted for use in a no-networks-test environment. See the discussion of the 4-part 'score' values in Mail::SpamAssassin::Conf. 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{