On Fri, Aug 27, 2010 at 10:58:37AM -0500, Noel Jones wrote: > I think the problem is better solved in the delivery agent. > > If you're using the postfix LMTP client, this might work: > http://www.postfix.org/postconf.5.html#lmtp_generic_maps > /^(.*)@server\.example\.com$/ $1 > This will also mangle To: headers.
Standard-compliant LMTP addresses are (as with SMTP) <localp...@domain> not <localpart>. So LMTP servers are expected to correctly map domains to mailboxes. It is best to no generate invalid LMTP, mangle the headers, ... -- Viktor.