OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: A question on explicit forwarding without DNS query
From: Wietse Venema (wietseporcupine.org)
Date: Sat Jun 10 2000 - 13:22:00 CDT


bert hubert:
> On Sat, Jun 10, 2000 at 05:22:30PM +0200, bert hubert wrote:
>
> > Ok - I do remember now. To do this I need to take a step back and rig
> > getpwnam that it will return 'no such user' for those accounts that need to
> > be forwarded to the big-proprietary-nt-mailserver. At first I tried to solve
> > it all within my dict_gecos, but changing getpwnam is also a suitable way.
>
> Ok, this still doesn't work.. luser_relay is a rewrite rule, and doesn't
> specify a backup MX server like I thought it would. I've found a solution
> but it requires *2* Postfix installations. It works like this:
>
> We receive mail for joe.l.userourdomain.com, and we discover that the
> mailbox for this user lives on mx.bigntserver.com. Now, this bigntserver is
> completely untouchable, so we need to take the message, still with the same
> envelope recipient (RCPT To: joe.l.userourdomain.com), and drop it off at
> port 25 of mx.bigntserver.com.

userdomain support in the transport or routing map will eventually
fix this. Until then, the more flexible sendmail has an edge in
this respect, since it can rewrite (transport, nexthop, recipient)
independently.

        Wietse