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



-------------------------------------------------------
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/

Reply via email to