Re: [AMaViS-user] can't figure why local delivery is getting a spam

This is a discussion on Re: [AMaViS-user] can't figure why local delivery is getting a spam within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Gordon wrote: > That makes sense. The primary MX gets much more traffic than then backup > MX, but I ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-13-2006
Gary V
 
Posts: n/a
Default Re: [AMaViS-user] can't figure why local delivery is getting a spam

Gordon wrote:

> That makes sense. The primary MX gets much more traffic than then backup
> MX, but I was hoping that Amavisd-new would not bother running spam
> tests on something clearly generated by itself.


If you are running Postfix, you can bypass amavisd-new for mail that
is created by the machine itself, but this also means any locally
generated mail will bypass amavisd-new, so it may not be appropriate
in all cases. In master.cf, add '-o content_filter=' to the pickup
service:

pickup fifo n - - 60 1 pickup
-o content_filter=

Alternately, you can remove this from main.cf:
content_filter = smtp-amavis:[127.0.0.1]:10024
and only include it in master.cf for the desired services, for example:

smtp inet n - - - - smtpd
-o content_filter=smtp-amavis:[127.0.0.1]:10024

Or you could use a policy bank instead of bypassing amavisd-new
altogether if you like:

pickup fifo n - - 60 1 pickup
-o content_filter=smtp-amavis:[127.0.0.1]:10026

then in amavisd.conf, something like:

$inet_socket_port = [10024,10026]; # change this default

$interface_policy{'10026'} = 'BYPASSSPAM';

$policy_bank{'BYPASSSPAM'} = {
bypass_spam_checks_maps => [1],
final_spam_destiny => D_PASS,
};

Gary V



_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:31 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0