On Sunday 02 August 2009 17:13:42 Edwin Minneboo wrote:
> >  > In main.cf I have:
> >  >
> >  > smtpd_client_restrictions =
> >  > permit_mynetworks,
> >  > reject_rbl_client zen.spamhaus.org=127.0.0.10,
> >  > reject_rbl_client zen.spamhaus.org=127.0.0.11,
> >  > reject_rbl_client zen.spamhaus.org

Note, this did not show any leading whitespace as is required for
continuation of lines. This is one of several reasons why "postconf -n"
output is preferred over main.cf contents.

> It is working now, I have a working sasl and I have it in the
> smtpd_recipient_restrictions. My thought was that was the right
> place to put it. But now it works. 

Your thought was correct, but not complete. If you use multiple
restriction stages for smtpd(8), each of those stages must resolve to
a permit or "DUNNO" result. Any reject or defer result in any stage
means that mail is not accepted. For details, see:
        http://www.postfix.org/SMTPD_ACCESS_README.html
        http://www.postfix.org/access.5.html
-- 
    Offlist mail to this address is discarded unless
    "/dev/rob0" or "not-spam" is in Subject: header

Reply via email to