Davide wrote:

> Il giorno mer, 08/03/2006 alle 13.00 -0700, Gary V ha scritto:
>> > PS: bypass_spam_acl applied to the domain example.com, doesn't work
>> > because bypasses every email sent to example.com
>> 
>> The check is based on recipient address, not sender address.

> Is there something similar concerning the sender address?

In newer versions a policy bank could take care of this.

>> What version of amavisd-new are you running? 

> I'm using the version included in Debian Sarge = 20030616p10-5

This does not support policy banks.

>> How many other domains
>> are sending outgoing mail through the remote amavis?

> dozens

For this to work you MUST include EVERY SINGLE ONE of the dozens of
domains.

There is a sample amavisd.conf:

# don't run spam check for these RECIPIENT domains:
#   @bypass_spam_checks_acl = qw( d1.com .d2.com a.d3.com );
# or the other way around (bypass check for all BUT these):
#   @bypass_spam_checks_acl = qw( !d1.com !.d2.com !a.d3.com . );
# a practical application: don't check outgoing mail for spam:
#   @bypass_spam_checks_acl = ( "!.$mydomain", "." );
# (a downside of which is that such mail will not count as ham in SA bayes db)

The second statement would be what you need, there are three internal
domains illustrated.

It would also bee a good idea to use the exact same list  and place
them in spam_lovers, e.g.:

@spam_lovers_acl = qw( !d1.com !.d2.com !a.d3.com . );

If you should ever want to upgrade, version 2.3.2 uses nothing but
stable packages. See:
http://www200.pair.com/mecham/spam/upgrade-amavis.html

Gary V



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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