Thierry wrote:
> I've another question.
> I've this line on amavisd.conf:
> read_hash(\%local_domains, '/etc/amavis/local_domains');
> and in /etc/amavis/local_domains, I put all my domains.
> I recently saw that I forgot to add a domain in this file, and for all
> mails intending to mails with that domain, he didn't verify spams on
> those mails (there were no score and I received all spams directly to my
> inbox folder).
> After, I added it, all was good.
> Is it normal?
Under some circumstances.
> I thought that this parameter was to distinguish if it was incoming or
> outcpoming mails.
It is used to separate 'local' recipients, from recipients that are
not local. Whether this makes a difference or not depends on other
settings like $sa_tag_level_deflt, $sa_spam_subject_tag and others.
Non-local recipients will not have the X-Spam headers added, so although
mail may have been spam-scanned, without the addition of those headers,
you may not be able to use something like procmail to further
process the message because it may rely on these headers.
And if you have something like this:
@bypass_spam_checks_maps =
( {map {$_ => !$local_domains{$_}} keys %local_domains}, 1);
Then unless the domain was 'local', spam scanning will be bypassed.
So, it depends on what you do with the information.
# @local_domains_maps list of lookup tables are used in deciding whether a
# recipient is local or not, or in other words, if the message is outgoing
# or not. This affects inserting spam-related headers for local recipients,
# limiting recipient virus notifications (if enabled) to local recipients,
# in deciding if address extension may be appended, and in SQL lookups
# for non-fqdn addresses.
Gary V
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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/