amavis-user October 2010 archive
Main Archive Page > Month Archives  > amavis-user archives
amavis-user: Re: [AMaViS-user] Skipping SPAM checks for local ma

Re: [AMaViS-user] Skipping SPAM checks for local mail

From: Patrick Ben Koetter <p_at_nospam>
Date: Thu Oct 14 2010 - 11:04:30 GMT
To: amavis-user@lists.sourceforge.net

* Danilo Godec <danilo.godec@agenda.si>:
> is it possible (or what's the simple way) to skip SPAM checks for all
> mail, that originates from and is destined for local delivery?
>
> Is this something that can be done within Amavisd-new (2.6.4)? Or will I
> need to do something on Postfix?

If you know all local client IP addresses
- define all networks in amavis' @mynetworks
- Create the policy bank MYNETS in amavis and configure it to skip SPAM checks.
- use XFORWARD in Postfix to tell amavis the clients real IP

If you don't know all local client IP addresses, find a different reliable
trigger e.g. SMTP AUTH, Submission etc. and send all mail that enters Postfix
this way to a dedicated port in amavis.
- assign a policy bank to that port
- configure it to skip SPAM checks

p@rick

-- All technical questions asked privately will be automatically answered on the list and archived for public access unless privacy is explicitely required and justified. saslfinger (debugging SMTP AUTH): <http://postfix.state-of-mind.de/patrick.koetter/saslfinger/> ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user Please visit http://www.ijs.si/software/amavisd/ regularly For administrativa requests please send email to rainer at openantivirus dot org