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: bert hubert (ahuds9a.nl)
Date: Sat Jun 10 2000 - 10:22:30 CDT


On Fri, Jun 09, 2000 at 12:06:48AM +0200, bert hubert wrote:

> > > If it turns out that the user has decided *not* to opt out, we need to
> > > deliver the mail to the large proprietary mailserver anyhow. The only way we
> > > can do that is to connect to their port 25, and drop off the mail as if they
> > > were still primary MX.
> >
> > Set up "bigntmailserver.com" as your luser_relay. You're done.
>
> I'm currently trying to figure out why I thought that wouldn't work. Perhaps
> I won't remember :-)

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.

/etc/nsswitch.conf is your friend..

Thanks & regards,

bert hubert

-- 
                       |              http://www.rent-a-nerd.nl
                       |                     - U N I X -
                       |          Inspice et cautus eris - D11T'95