Hello,

I intend to protect some internal email distribution lists in a way, which is described here:

  http://www.postfix.org/RESTRICTION_CLASS_README.html

I would need to add "check_recipient_access ..." to the parameter
"smtpd_recipient_restrictions". The actual value of this parameter in main.cf is:

smtpd_recipient_restrictions =
    permit_mynetworks
    reject_unauth_destination

"smtpd_relay_restrictions" is not explicitly defined in main.cf. But it seems, that it has this default value (output from postconf):

smtpd_relay_restrictions =
    permit_mynetworks,
    permit_sasl_authenticated,
    defer_unauth_destination

It seems to me, that this configuration is somewhat redundant. I assume, this would be a better configuration:

smtpd_relay_restrictions =
    permit_mynetworks
    reject_unauth_destination

smtpd_recipient_restrictions =
    check_recipient_access hash:/etc/postfix/access

Am I right?

Regards,
Ingo

Reply via email to