On 28.09.21 14:31, João Silva wrote:
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.

note that postfix compares envelope senders to those in database, so you
must make sure that the envelope sender matches address in From:


On 28/09/2021 12:46, Max-Julian Pogner wrote:
did you already ctrl+f for 'reject_sender_login_mismatch' and 'smtpd_sender_login_maps' in http://www.postfix.org/postconf.5.html
?

On 28/09/2021 13:36, João Silva wrote:
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?

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
The 3 biggets disasters: Hiroshima 45, Tschernobyl 86, Windows 95

Reply via email to