On Sun, 9 Jan 2011 10:17:57 -0500 (EST), Wietse Venema
<wie...@porcupine.org> wrote:

> Jan Johansson:
> > I have the following config:
> > 
> > smtpd_recipient_restrictions = permit_mynetworks
> > reject_unauth_destination check_policy_service inet:127.0.0.1:10031
> >
> For that, specify reject_unlisted_recipient before permit_mynetworks.

Well then, would the following order make sense?

smtpd_recipient_restrictions = sleep 1,
reject_unlisted_recipient, reject_unauth_pipelining,
reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname,
reject_non_fqdn_sender, reject_non_fqdn_recipient,
reject_unknown_sender_domain, reject_unknown_recipient_domain,
permit_sasl_authenticated, permit_mynetworks,
reject_unauth_destination,check_policy_service inet:127.0.0.1:10031

Regards,

M.

Reply via email to