From: Daniel L. <da...@dl...> - 2005-03-31 21:14:42
|
Norman, > Daniel Luttermann wrote: >> as I know spam gets quarantained if the score is above the >> $sa_kill_level_deflt also if you've set D_PASS as your final destiny. >> You should also define your users as spam lovers. > How do I know it went above the $sa_kill_level_deflt? > $sa_tag_level_deflt = 2.0; # add spam info headers if at, or above > that level > $sa_tag2_level_deflt = 4.9; # add 'spam detected' headers at that level > $sa_kill_level_deflt = 4.9; # triggers spam evasive actions > $sa_dsn_cutoff_level = 10; # spam level beyond which a DSN is not sent you can only analyse your log files because no mail gets quarantained so you don't see any mails in your quarantaine directory. You can search your log files for "PASSED SPAM" because such mails have reached the $sa_tag2_level_deflt. If quarantaine is enabled and the score reaches the $sa_kill_level_deflt then the mail gets quarantained with this message in your log file: "BLOCKED SPAM" There are some utilities for amavisd here: http://www.ijs.si/software/amavisd/#contrib You can try amavis-blocked (by Uwe S. Fuerst) for example... >> $final_spam_destiny = D_PASS; >> >> @spam_lovers_maps = ( >> { '.domain.com' => 0, >> '.example.com' => 0, >> '.' => 1, >> } >> ); >> >> This means: block spam for domain.com and example.com but let pass all >> other mails... mail for the example domains gets quarantained if the >> spam score is higher than the $sa_kill_level_deflt. > Thanks. I think I like to allow SPAM to get through and have the users > to delete them for now. >> You could also try to set $spam_quarantine_to = 'undef'; which will >> disable spam quarantaine. > Done, I will set that for now. BTW, in amavisd.conf, > $sa_spam_subject_tag = '***SPAM*** '; > but in /etc/mail/spamassassin/local.cf it is > rewrite_header Subject [SPAM] > Would they have conflicting results? No. This is from amavisd faq: amavisd-new does not modify mail body or lets SA do it (with the exception of defanging, introduced with amavisd-new-2.0). All mail (header) editing is done by amavisd-new and not by SA. Even though SA does observe options in its configuration file to rewrite mail body and modify mail header, the result is purposely not used by amavisd-new. More infos here: http://www.ijs.si/software/amavisd/#faq-spam -- Best Regards Daniel Luttermann |