-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary V Sent: Thursday, 24 August 2006 1:16 AM To: AMaViS-user@lists.sourceforge.net Subject: Re: [AMaViS-user] mail not being dumped if got high spam count
Troy wrote: > In the amavis.conf file in the spamassassin area I have the following but > mail that is above 10 is still being delivered. Sample header of delivered > mail at the bottom. So what I want to happen is spam that is 6.3 or more but > less than 10 gets delivered with ***SPAM*** and if more than 10 then it just > gets deleted > ----------- amavis.conf ------------- > # default values, can be overridden by more specific lookups, e.g. SQL > $sa_tag_level_deflt = 1.0; # add spam info headers if at, or above that > level > $sa_tag2_level_deflt = 6.3; # add 'spam detected' headers at that level > $sa_kill_level_deflt = $sa_tag2_level_deflt; # triggers spam evasive actions > # at or above that level: bounce/reject/drop, > # quarantine, and adding mail address extension > $sa_dsn_cutoff_level = 10; # spam level beyond which a DSN is not sent, > # effectively turning D_BOUNCE into D_DISCARD; > # undef disables this feature and is a default; > --------- Sample header still be delivered ------- > X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at comstech.com.au > X-Spam-Status: Yes, hits=11.6 tagged_above=1.0 required=6.3 tests=ADDR_FREE, > AWL, BAYES_00, DCC_CHECK, GAPPY_SUBJECT, HTML_50_60, > HTML_IMAGE_RATIO_04, HTML_MESSAGE, MIME_HTML_MOSTLY, MPART_ALT_DIFF, > MSGID_FROM_MTA_ID, REMOVE_PAGE, SPF_HELO_SOFTFAIL, SPF_PASS, > URIBL_OB_SURBL > X-Spam-Level: *********** > X-Spam-Flag: YES > X-IMAPbase: 1128951150 4294 > Status: O > X-UID: 4259 > Content-Length: 2937 > X-Keywords: You appear to have general misconceptions of what some of these settings do. I could simply give you the settings you need to do what you want to do, but it would be better if you were made aware of how the settings work. This may provide insight: http://www200.pair.com/mecham/spam/amavisd-settings.html Read it, then show what you came up with (if you like). Gary V ------------------------------------------------------------ Ok changed this area $final_virus_destiny = D_DISCARD; # (defaults to D_BOUNCE) $final_banned_destiny = D_BOUNCE; # (defaults to D_BOUNCE) $final_spam_destiny = D_DISCARD; # (defaults to D_REJECT) $final_bad_header_destiny = D_PASS; # (defaults to D_PASS), D_BOUNCE suggested The $final_spam_destine was D_PASS so changed this to D_DISCARD so the mail just gets deleted as such Then set the following to $sa_tag_level_deflt = 1.0; # add spam info headers if at, or above that level $sa_tag2_level_deflt = 6.3; # add 'spam detected' headers at that level $sa_kill_level_deflt = 10; # triggers spam evasive actions # at or above that level: bounce/reject/drop, # quarantine, and adding mail address extension $sa_dsn_cutoff_level = 15; # spam level beyond which a DSN is not sent, # effectively turning D_BOUNCE into D_DISCARD; # undef disables this feature and is a default; So does this seem ok, I will see how it goes ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/