postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: understanding smtpd mumble restrictions - more qu

understanding smtpd mumble restrictions - more questions

From: pf at alt-ctrl-del.org <pf_at_nospam>
Date: Thu Oct 14 2010 - 03:08:47 GMT
To: <postfix-users@postfix.org>

I've used postfix as an incoming anti-spam gateway for several years. Now, I'm experimenting with an additional
postfix'n + policydV2 as an outbound gateway for another mail server.

mynetworks = 127.0.0.0/8, PO.ST.FIX.IP, MAIL.SER.VER.IP
smtpd_helo_restrictions = permit_mynetworks
smtpd_client_restrictions = permit_mynetworks,reject
smtpd_sender_restrictions = check_policy_service inet:127.0.0.1:10031,permit_mynetworks
# smtpd_recipient_restrictions =

Everything appears to work as expected.

But if I add,
smtpd_delay_reject = no
The MAIL.SER.VER.IP is rejected with "Access denied"

I've also tried it with only the following defined,
smtpd_client_restrictions = permit_mynetworks,reject
smtpd_sender_restrictions = check_policy_service inet:127.0.0.1:10031

Why is the mynetworks address rejected, when smtpd_delay_reject = no, but not rejected when smtpd_delay_reject = yes?