From: Daniel J M. <dan...@au...> - 2005-03-31 20:48:17
|
On Thu, 2005-03-31 at 12:16 -0800, Norman Zhang wrote: > 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? Change log-level to 2 and look in /var/log/mail/info > > $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 If it is above 10 ($sa_dsn_cutoff_level) it will D_DISCARD instead of D_PASS.... I prefer to do $sa_tag_level_deflt = -1.0; $sa_tag2_level_deflt = 4.9; $sa_kill_level_deflt = 6.7; $sa_dsn_cutoff_level = 10; 4.9 to 6.7 it marks it as ***SPAM**** 6.7 and up it ditches it (I use D_DISCARD) > > $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? > > Regards, > Norman Zhang > > > ------------------------------------------------------- > This SF.net email is sponsored by Demarc: > A global provider of Threat Management Solutions. > Download our HomeAdmin security software for free today! > http://www.demarc.com/Info/Sentarus/hamr30 > _______________________________________________ > AMaViS-user mailing list > AMa...@li... > https://lists.sourceforge.net/lists/listinfo/amavis-user > AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 > AMaViS-HowTos:http://www.amavis.org/howto/ |