On Wed, Mar 30, 2011 at 02:46:39PM -0500, Noel Jones wrote: > That's a very different problem, ie. strip recipient delimiters from mail > relayed externally. > > Sounds as if smtp_generic_maps will fill the need. > http://www.postfix.org/ADDRESS_REWRITING_README.html#generic > > > # main.cf > smtp_generic_maps = > regexp:/etc/postfix/generic.regexp
It is possible to avoid a regexp, generic mapping is also subject to propagate_unmatched_extensions (which excludes "generic" by default). Therefore, one can use: generic: u...@example.com u...@example.com and this too will drop the extension in a perhaps more robust way, but the table needs a lookup key for each user. -- Viktor.