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?

Reply via email to