OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: check_policy_service exclusions?

From: Magnus Bäck (magnusdsek.lth.se)
Date: Wed Aug 02 2006 - 08:24:57 CDT


On Wednesday, August 02, 2006 at 14:45 CEST,
     /dev/rob0 <rob0gmx.co.uk> wrote:

> On Wednesday 02 August 2006 07:43, Hans du Plooy wrote:
>
> > I'm using SQLgrey and amavisd-new, and I've noticed that mail coming
> > back from amavisd-new on 127.0.0.1 gets greylisted too. How do I
> > exclude 127.0.0.1 from being checked against this particular policy?
> >
> > Relevant postconf -n
> >
> > smtpd_recipient_restrictions = reject_unauth_destination,
> > check_policy_service inet:127.0.0.1:2501, permit
>
> Please reread the FILTER_README.html#advanced_filter section; it says
> you need to specify different "-o smtpd_recipient_restrictions ..."
> for your reinjection port.

Or why not just put permit_mynetworks first in
smtpd_recipient_restrictions? It hardly makes
sense to greylist any trusted clients.

--
Magnus Bäck
magnusdsek.lth.se