| |||||||||||||||||||||||||||||||
|
> I have an internal server relaying through our gateway. > > I want to rewrite all outbound addresses from user > to user. > > Do I want to use smtp_generic_maps to achieve this? If so, how? @host.example.com @example.com if there are a lot of hosts to rewrite and/or their names change frequently, you can use a pcre/regexp generic table: /^(.*)@[^@]+\.example\.com$/ ${1}@example.com -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majordomo?body=unsubscribe%20postfix-users> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com