On 3/6/08, Philipp Flesch wrote:
> Hi!
> I know there is a possibility to activate scanning for serveral
> (target-) domains.
>
> But is there a possibility to change this way and configure domains
> that should be excluded from scanning by amavisd?
>
> Philipp
>
Assuming the mail is addressed to recipients in one or more of your domains:
Don't spam check these domains:
@bypass_spam_checks_maps = (
[ qw( .example.com .example.org ) ],
);
Make them spam_lovers to insure delivery:
(needed if there is multi-recipient mail to recipient domains that are
not listed above - they will disagree spam check should be bypassed)
@spam_lovers_maps = (
[ qw( .example.com .example.org ) ],
);
Set kill_level high so spam to those domains is not quarantined
and the Subject: line is not modified:
@spam_kill_level_maps = (
{ '.example.com' => 9999,
'.example.org' => 9999 },
\$sa_kill_level_deflt, # catchall default
);
If desired, you could then add (for example):
@bypass_banned_checks_maps = @bypass_header_checks_maps =
@bypass_spam_checks_maps;
@banned_files_lovers_maps = @bad_header_lovers_maps = @spam_lovers_maps;
You could also include @bypass_virus_checks_maps and @virus_lovers_maps,
but you may want to continue to scan for viruses.
See amavisd.conf-sample, and:
http://www200.pair.com/mecham/spam/bypassing.html
--
Gary V
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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/