On Wed, Oct 7, 2020 at 2:34 PM Tom Sommer <m...@tomsommer.dk> wrote: > > So SASL user "t...@example.com" 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 m...@yourdomain.org or m...@yourowndomain.org. You can change the regex to allow from @domain instead.