I just started playing around with sender address rewriting with postfix.
I run a server with
[...] smtp_generic_maps = hash:/etc/postfix/generic [...]
firstname.lastname@example.org email@example.com firstname.lastname@example.org email@example.com
And so far it works. When user
santiago sends an email, it is sent as
firstname.lastname@example.org which is what I want.
My problem is that I want this rewrite to be performed with any user without having to add more lines to
/etc/postfix/generic. So I was wondering if it could be done via some kind of regular expression like:
Is it at all possible?
Thanks for your help