I just started playing around with sender address rewriting with postfix.
I run a server with
[...] smtp_generic_maps = hash:/etc/postfix/generic [...]
email@example.com firstname.lastname@example.org email@example.com firstname.lastname@example.org
And so far it works. When user
santiago sends an email, it is sent as
email@example.com 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