rewrite recipient before sending to internal relay via MAIL_HUB
scenerio...
i have a host called dmz doing inbound/outbound for 1 xyz.com
dmz has a MAIL_HUB set for xyz.com to go to a host inside named
charlie. charlie wants to receive the mail as it came in to dmz,
user [at] xyz.com. instead sendmail sends it to user [at] charlie.
can i rewrite this back to the original on finding [at] charlie before it
is sent to the hub?
Thank you!
Re: rewrite recipient before sending to internal relay via MAIL_HUB
In article <1189237563.670004.310180 [at] r34g2000hsd.googlegroups.com>
rsurfer <rsurfer [at] gmail.com> writes:
>scenerio...
>i have a host called dmz doing inbound/outbound for 1 xyz.com
>dmz has a MAIL_HUB set for xyz.com to go to a host inside named
>charlie. charlie wants to receive the mail as it came in to dmz,
>user [at] xyz.com. instead sendmail sends it to user [at] charlie.
>
>can i rewrite this back to the original on finding [at] charlie before it
>is sent to the hub?
Better to not rewrite it wrongly in the first place - instead of
MAIL_HUB, use mailertable with
xyz.com esmtp:charlie
- this won't modify the recipient address.
--Per Hedeland
per [at] hedeland.org
Re: rewrite recipient before sending to internal relay via MAIL_HUB
On Sep 8, 3:46 am, rsurfer <rsur... [at] gmail.com> wrote:
> scenerio...
> i have a host called dmz doing inbound/outbound for 1 xyz.com
> dmz has a MAIL_HUB set for xyz.com to go to a host inside named
> charlie. charlie wants to receive the mail as it came in to dmz,
> u... [at] xyz.com. instead sendmail sends it to user [at] charlie.
>
> can i rewrite this back to the original on finding [at] charlie before it
> is sent to the hub?
>
> Thank you!
http://www.jmaimon.com/sendmail/#preserve_domain_luser_relay