Shane wrote:

> Gary V <[EMAIL PROTECTED]> [2005-09-29 10:59]:
>> This worked:
>> @spam_quarantine_to_maps = (
>>   { '.example.com' => '', # turn off quarantine for this recip
>>   },
>>   $spam_quarantine_to,  # for everybody else use a global default
>> );

> I must be doing something crazy.  I have some domains that I'm relaying mail 
> to.  I don't host them, but I am a backup MX for them.  Let's call them 
> friendsdomain#.com.

> Here is what I have in my amavisd.conf

> @spam_quarantine_to_maps = (
>   { '.friendsdomain1.com' => '',
> '.friendsdomain2.com' => '',
> '.friendsdomain3.com' => '',
>   },
>   $spam_quarantine_to,  
> );

> I also have this:

> @bypass_spam_checks_maps = (
> [ qw( .friendsdomain1.com .friendsdomain2.com .friendsdomain3.com ) ] 
> ); 
> @bypass_banned_checks_maps = @bypass_header_checks_maps = 
> @bypass_spam_checks_maps;

> I've restarted amavis and I just saw this in the logs:

> Oct 20 14:46:28 megatron amavis[26068]: (26068-04) Blocked SPAM, [<remote IP 
> snipped>] <spammer's e-mail snipped> -> <[EMAIL PROTECTED]>, Message-ID: 
> <[EMAIL PROTECTED]>,
> mail_id: ooDPxEor9U0T, Hits: 16.259, 1967 ms

> I'm sure I've done something foolish,

Not necessarily.

>  I'm just not sure where to start.
> Thanks,
> Shane

There is a known issue when using @bypass. If the mail is addressed to
multiple recipients, and one of the recipients disagrees that the scan
should be bypassed, the scan will still take place. Bypass does not
guarantee delivery. If you have not configured @spam_lovers_maps or
@banned_files_lovers_maps or @bad_header_lovers_maps, you can directly
assign the same list of recipients you have given
@bypass_spam_checks_maps to them. If you *have* configured them, then
keep the lists separate, but insure your freindsdomains are included
in the list. Making someone a @lover will insure delivery, even if the
file is scanned.

@banned_files_lovers_maps = @spam_lovers_maps = @bypass_spam_checks_maps;

Here is a similar discussion of the problem:
http://marc.theaimsgroup.com/?l=amavis-user&m=112368496905797&w=2
and there are other posts that discuss this issue.

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
AMaViS-user@lists.sourceforge.net
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