Am 18.09.2014 um 09:05 schrieb Philip Rhoades: > I've had a look at the rewrite stuff but I can't see that it is possible to > do what I want: > > For outgoing mail for users with names like: > > info_dom1@* > info_dom2@* > info_dom3@* > > I want their from/reply-to addresses to be rewritten as: > > info_d...@dom1.com > info_d...@dom2.com > info_d...@dom3.com > > - is this possible?
no that generic, but with mysql tables it should be possible because you are mouch more flexible with queries resulting in a table lookup postfix wants to see http://www.postfix.org/MYSQL_README.html sender_canonical_maps = hash:/etc/postfix/canonical send...@example.com send...@example.net send...@example.com send...@example.net