Hi,

How to create an exception to reject_authenticated_sender_login_mismatch in main.cf.

Currently have the following setting in main.cf but I do not know how to create an exception. Because there are some authenticated users that should not be rejected by reject_authenticated_sender_login_mismatch.

Tried check_sender_access but that seems to check the MAIL_FROM. Is there a way to check authenticated user and allow emails coming from that authenticated user?

----------- start ------------------------------
smtpd_sender_restrictions = reject_unknown_sender_domain,
          check_sender_access hash:/etc/postfix/allowed_user,
          reject_authenticated_sender_login_mismatch,
          check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
------------------ end -------------------------

In the file /etc/postfix/allowed_user it is as follows.

n...@example.com OK

Is there some other check_XXXX_access that checks the authenticated user?

--
P.V.Anthony


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to