Peter Marenbach <[EMAIL PROTECTED]> wrote:
>  --- Charles Cazabon <[EMAIL PROTECTED]>
> > 
> > I really don't think it can be done -- at least not easily.  Your
> > description involves sometimes treating a domain as local, and
> > sometimes treating it as remote -- but there's no way for qmail to
> > distinguish between the two.
> 
> Exactly this was my question. Can I overwrite the domains qmails
> treats as local depending on the IP address of an incomming mail. I.e.
> through an environment variable set by tcpserver.

I suppose it's possible; you'd have to deal with a lot of locking
issues, and HUP or restart qmail-send before injecting every message.
And then what happens if two messages come in simultaneously where you
want different behaviour?

Perhaps qmail-ldap would be a better solution for you.  See (I think)
http://www.lifewithqmail.org/ldap/ .

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
-----------------------------------------------------------------------

Reply via email to