Jason Vincent <[EMAIL PROTECTED]> wrote:
> The app I am working on is currently using qmail-inject (to be able to
> control the from address I believe).  My understanding is that
> qmail-inject calls qmail-queue which calls qmail-send - none of which
> ever use the smtproutes control file.

Correct.

> Does that mean that I have to use qmail-remote in order for the
> smtproutes to work - and if so, how do I account for the 'from' that
> qmail-inject allowed me to do.

No.  I think your misunderstanding is based on qmail-send -- qmail-send
doesn't "send" messages anywhere.  It's the queue manager.  All mail
which is handled by qmail passes through the queue.  qmail-send
invokes (indirectly) qmail-local or qmail-remote to do the actual
deliveries.

In short:  inject your message with qmail-inject.  When it gets to
qmail-remote, smtproutes will be obeyed.

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

Reply via email to