I'm about to upgrade my Debian system to Bookworm, and thus to postfix 3.7.

That will allow me to use  "local_login_sender_maps".  I have a few stupid questions about that:

* What is the precise syntax of the right-hand-side patterns?  Does ".example.com" match subdomains of example.com as it does in an access table?

* Is it reasonable to assume that a normal user has no valid reason for ever using a sender address that is not his own and does not belong to his domain?  So for a user with two Unix usernames and two separate domains, I could configure it as:
/^(root|postfix)$/  *
/^(jd|jdmobile)$/  $1   $1...@mailserver.example.org @mydomain1.example.com  @mydomain2.example.com
?

* Is it reasonable to assume that a normal user has no valid reason for ever using the sender address "<>"?

* is it correctly understood that with "local_login_sender_maps" in use, "authorized_submit_users" becomes redundant?

* I wonder why "local_login_sender_maps"  and "smtpd_sender_login_maps" work in opposite directions: they basically contain equivalent (or even equal) information, but "local_login_sender_maps"  looks up a username to find allowed addresses, while "smtpd_sender_login_maps" looks up an address to find users that may use that address.  I have no doubt that there is a good reason, but it escapes me for the moment - and I am curious.

Thanks,
Jesper

--
Jesper Dybdal
https://www.dybdal.dk


_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to