From Jim Knuth:
> > @bypass_spam_checks_maps =
> >      ( {map {$_ => !$local_domains{$_}} keys %local_domains}, 1);
>...
> bypass for what? mmh, outgoing AND incoming mails?

@bypass_* like most other lookups work on recipient address.
The only lookup table that uses sender address is white/blacklisting,
and it only applies to spam checks.


From Rocco Scappatura:
> @bypass_spam_checks_maps = ( [ "!.sttspa.it", "." ] );
> All works fine, and following there is the demonstration...
> It follows three example of spam email sending with using the definition
> above:

> 1) internal->external (Not checked)
> (19337) Passed CLEAN, <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>

Ok, the inwind.it DOES NOT match .sttspa.it, it only matches the "."
in @bypass_spam_checks_maps, resulting in true (no '!' in front of "."),
so spam check is bypassed. The inwind.it is an external domain,
which is why I'm saying this is an outgoing mail.

> 2)external->internal (Checked)
> (20969) Blocked SPAM, <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>

Ok, sttspa.it DOES match .sttspa.it, resulting in false (leading '!'),
so spam check is NOT bypassed, i.e. mail is checked for spam as it should.

> 3)internal->internal(Cheked)
> (20969) Blocked SPAM, <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>

Ok, same thing, sttspa.it DOES match .sttspa.it, resulting in false
(leading '!'), so spam check is NOT bypassed, i.e. mail is checked
(for all local recipients, regardless of mail origin).

> (BTW, I'ld like to understand why if bypass_spam_checks_maps works on
> recipient email address, then the definition above works on sender email
> address... Misterious!!!)

What makes you think it is checking the sender address? It is not!
@bypass_* (and most other lookups) only checks recipient address, always! 
There is no mystery about it.

  Mark


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