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!
rsurfer [ Sa, 08 September 2007 09:46 ] [ ID #1815873 ]

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
per [ So, 09 September 2007 01:17 ] [ ID #1816228 ]

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
Joe Maimon [ Mo, 08 Oktober 2007 02:24 ] [ ID #1839769 ]
Miscellaneous » comp.mail.sendmail » rewrite recipient before sending to internal relay via MAIL_HUB

Vorheriges Thema: Stats comp.mail.sendmail (last 7 days)
Nächstes Thema: sending mail from a milter filter