On Wed, Oct 7, 2020 at 2:34 PM Tom Sommer <[email protected]> wrote: > > So SASL user "[email protected]" would be able to send only from > "@example.com".
smtpd_sender_login_maps = pcre:/etc/postfix/login_maps.pcre
content of /etc/postfix/login_maps.pcre:
/^(.*)@your(own)?domain\.org$/ ${1}
This would force sasl-authed user "me" to only send from
[email protected] or [email protected].
You can change the regex to allow from @domain instead.
