My Postfix delivers to an IMAP store using LMTP.

I intend to have known users only defined in IMAP server's LMTP config.

To check for valid users, and reject if not found, I use Postfix's

 (http://www.postfix.org/SASL_README.html)
 reject_sender_login_mismatch

For simple config, I add that to

/etc/postfix/main.cf:
    smtpd_recipient_restrictions =
        ...
        reject_sender_login_mismatch

When I add, e.g., postscreen, spampd as a before queue content filter,
and opendkim milter, should the 'reject_sender_login_mismatch' still be
left in main.cf, available globally by default?

Or should it be removed, and then added solely to a specific entry in
master.cf?

What's considered best practice in this case, and why?


Barry

Reply via email to