I have been reading the documentation for smtpd_sender_login_maps and for what i understood I must create a db of the form

@domain user1,user2....

From the docs:

"In all cases the result of table lookup must be either "not found" or a list of SASL login names separated by comma and/or whitespace"

Thats not manageble in some scenarios.

Since that list could be a LDAP lookup I'm going to research that option.

On 28/09/2021 12:46, Max-Julian Pogner wrote:
Hi,

did you already ctrl+f for 'reject_sender_login_mismatch' and 'smtpd_sender_login_maps' in http://www.postfix.org/postconf.5.html
?

regards,

Max

On 28/09/2021 13:36, João Silva wrote:
Hi

I need to limit the domains in "mail from" for autenticated users to prevent sending emails with a "third party" domain. I have read the documentation and did not reached any conclusion.

My best guess is that is some configuration that may be passed as an option to submission and smtps.

What is the proper way to do something like that?

Thanks

Reply via email to