Jim wrote:

> Hallo und Guten Tag Gary,

> vor einer Woche (am 22.09.2005 - 23:56 Uhr)
>    schriebst Du: 

>> Gary V wrote:


>> You would comment out @local_domains_maps, and instead use:

>> read_hash(\%local_domains, '/var/amavis/local_domains');

>> The /var/amavis/local_domains file would simply contain your domains:
>> .example.com
>> .example2.com

>> Then, the genius part:

>> @bypass_spam_checks_maps =
>>      ( {map {$_ => !$local_domains{$_}} keys %local_domains}, 1);

>> and if desired:
>> @bypass_banned_checks_maps = @bypass_header_checks_maps = 
>> @bypass_spam_checks_maps;

> And again. ;) bypass for what? mmh, outgoing AND incoming mails?

In this example, any mail where the recipient's domain is NOT either
.example.com or .example2.com. Yahoo.com is not either .example.com or
.example2.com, so mail addressed to yahoo.com (and the rest of the
world) would not get scanned.

Conversely, mail addressed to .example.com and .example2.com will get
scanned. Nothing else will. This is why it is important that every
recipient domain you wish to scan is included in the file.

We refer to 'outgoing' here as 'mail addressed to recipients outside our 
domain(s)'.

Gary V



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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