Thanx again, All works fine.. but the results are not what I thought...
Infact, I thought that If I lower the threshold for that domain which receive too spam, then SA succeded to stop a greater number of spam messages... But I noted that the messages that actually SA claims to be clean have a similar score (negative). Similarly, I noted that the spam messages have an high score (say, more then 10). So if I lower the threshold from 6 to 4 I dont think that SA blocks a major number of spam messages.. Right? Rather if I lower the threshold to a negative number, I run the risk that SA blocks clean messages!!! Right?? How I can sdo so that SA blocks the spam messages without blocking clean messages, per domain basis?? Thanks, rocsca ----- Original Message ----- From: "Gary V" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, September 12, 2005 6:12 PM Subject: Re: [AMaViS-user] Varying threshold per domain basis > >> Rocco wrote: > >> > >> > Hello. > >> > Can I modify the the threshold per domain basis? > >> > Thanks, > >> > rocsca > >> > >> Here are two of several ways you could use static tables; > >> the period at the beginning of the domain name means that > >> subdomains of the given domain will also match. The 7.0 > >> value shown would match the remainder of domains: > >> > >> In amavisd.conf: > >> @spam_tag2_level_maps = > >> ({ > >> '.example.com' => 8.0, > >> '.example2.com' => 6.5, > >> '.' => 7.0, > >> }); > >> > >> or read from an external file: > >> @spam_tag2_level_maps = (read_hash("/var/amavis/tag2level"), 7.0); > >> > >> contents of /var/amavis/tag2level: > >> .example.com 8.0 > >> .example2.com 6.5 > >> > >> You will need to stop and start amavisd after making changes. > >> > >> You can also use one of these sample formats > >> for the other spam related settings if desired: > >> > >> @spam_tag_level_maps > >> @spam_kill_level_maps > >> @spam_dsn_cutoff_level_maps > >> and also @spam_quarantine_cutoff_level_maps (if used) > >> > >> I'm not sure about SQL or LDAP. > >> See http://www.ijs.si/software/amavisd/README.lookups.txt > >> and amavisd.conf-sample supplied with the source code. > >> > >> Gary V > >> > >> > > > Thanks, > > Do I still continue to use $sa_tag2_level_deflt? > > thanks, > > rocsca > > According to amavisd.conf-default: > > # @spam_tag_level_maps = (\$sa_tag_level_deflt); > # @spam_tag2_level_maps = (\$sa_tag2_level_deflt); > # @spam_kill_level_maps = (\$sa_kill_level_deflt); > # @spam_dsn_cutoff_level_maps = (\$sa_dsn_cutoff_level); > # @spam_quarantine_cutoff_level_maps = (\$sa_quarantine_cutoff_level); > > So if you define one of these maps in the manner above, it appears > the defaults will not be used. I believe you would have to do > something like this to continue to use them: > > @spam_tag2_level_maps = ( > { '.example.com' => 8.0, > '.example2.com' => 6.5 }, > \$sa_tag2_level_deflt, # catchall default > ); > > or > > @spam_tag2_level_maps = > (read_hash("/var/amavis/tag2level"), \$sa_tag2_level_deflt); > > Gary V > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > AMaViS-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/amavis-user > AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 > AMaViS-HowTos:http://www.amavis.org/howto/ ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
