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

Reply via email to