Re: [AMaViS-user] external-local-email

This is a discussion on Re: [AMaViS-user] external-local-email within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Andrea, > I installed postfix-2.2.2, amavisd-new-2.3.3, spamassassin-3.0.4 and > clamav-...


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 03-14-2006
Mark Martinec
 
Posts: n/a
Default Re: [AMaViS-user] external-local-email

Andrea,

> I installed postfix-2.2.2, amavisd-new-2.3.3, spamassassin-3.0.4 and
> clamav-0.88.
> I would like, in amavisd.conf, turn on spamassassin and clamav for
> incoming external email and only clamav for local email.


You can do it by modifying a Postfix config to only invoke
a content filter for mail coming-in from certain sources
(e.g. all but internal hosts), or you can use a policy bank
MYNETS to disable spam and virus scanning for mail coming
in from IP addresses matching @mynetworks, e.g.:

@mynetworks = qw(
127.0.0.0/8 10.0.0.0/8
172.16.0.0/12 192.168.0.0/16
...
);

$policy_bank{'MYNETS'} = { # mail originating from @mynetworks
bypass_virus_checks_maps => [1],
bypass_spam_checks_maps => [1],
};

See also amavisd.conf-sample and:
http://www.ijs.si/software/amavisd/a...cs.html#pbanks

Mark


-------------------------------------------------------
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=...720&dat=121642
_______________________________________________
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 Search this Thread
Search this Thread:

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

BB 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 10:22 PM.


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