[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: possible to "smtp-route" individual users ?



On Fri, Mar 01, 2002 at 10:35:11AM +0000, Barry Hill wrote:
> Friday, March 01, 2002, 12:52:11 AM, you wrote:
> AH> Still not a problem -- the key here is to tell that MTA that mail
> AH> for office.domain.de should be handled locally, in the same way that
> 
> I know that's the obvious solution, and I guess it's what we're going
> to have to go for, but I wanted to avoid having to alter that machine
> if at all possible due to inter-dependencies with other software it
> runs ...

Unless that software uses the envelope recipient information, there
should be no problems.  Still...

> That's why I was hoping to force-feed it mails with the same "rcpt to:"
> as it's used to ...

If you're really hell-bent on preserving the envelope recipient, the
only thing I can think of is to install a second qmail instance (rooted
at, say, /var/qmail2) and change my previous .qmail-based solution to:

	| /var/qmail2/bin/forward "$EXT@domain.de"

where /var/qmail2/control/smtproutes obviously contains:

	domain.de:office.domain.de

and /var/qmail2/control/{locals,virtualdomains} obviously /don't/
contain "domain.de".

-- 
Adrian Ho    Tinker, Drifter, Fixer, Bum   aho-djb-qmail@03s.net
ListArchive: <http://marc.theaimsgroup.com/?l=qmail>
Useful URLs: <http://cr.yp.to/qmail.html> <http://www.qmail.org>
             <http://www.lifewithqmail.org/> <http://qmail.faqts.com/>