On Fri, 11 Sep 2009, Sahil Tandon wrote:

Why don't you reject_unknown_recipient_domain BEFORE permitting your networks
(and/or SASL authenticated clients) in smtpd_recipient_restrictions?

So, how do I make mynetworks exempt from the
smtpd_recipient_restrictions, yet make mynetworks able to relay through
the box?

Sorry for replying again, but I think I may have resolved this:

Set smtpd_delay_reject = yes
set smtpd_sender_restrictions = reject_non_fqdn_sender, reject_unknown_sender_domain, reject_non_fqdn_recipient, reject_unknown_recipient_domain

smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination

This seems to have the desired effect.  This look OK to you guys?

Many thanks

Duncan

Reply via email to