OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Using smtp_generic_maps

From: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Sun Apr 02 2006 - 20:26:42 CDT


On Sun, Apr 02, 2006 at 08:22:29PM -0500, Steve Lowe wrote:

>
> Good evening,
>
> In reviewing mail stuck in our outgoing queue, we have a number
> of messages sent to the wrong domain:
>
> u46.org should be u-46.org
>
> I thought I had solved this problem by using smtp_generic_maps.
>
> main.cf:smtp_generic_maps = hash:/etc/postfix/generic
>
> In my /etc/postfix/generic, I have this entry:
>
> u46.org u-46.org
>
> Any suggestions?

Add the same (or better the specific mangled addresses) change to
virtual_alias_maps, and re-queue the mail with "postsuper -r <qid>". The
rewriting in smtp_generic_maps, does not change the nexthop relay. It
happens during (not before) the SMTP dialogue.

--
        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:majordomopostfix.org?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.