On Thu, 14 Oct 1999 22:23:38 -0700 in 
<[EMAIL PROTECTED]> "randyboy" 
<[EMAIL PROTECTED]> wrote:
> Oh, am I using qmail-inject?

If you're sending mail from the local host running qmail, then your
MUA is passing the outgoing mail to qmail-inject, possibly through
the qmail "sendmail" wrapper.  If your qmail is on a separate machine
than the one from which you're sending the mail, then I may be mistaken
in my diagnosis.

> I though that since I'm using tcpserver to call qmail-smtpd this is what
> happens.
> 
> tcpserver -> qmail-smtpd -> qmail-queue -> qmail-send -> qmail-rspawn ->
> qmail-remote

That's true for sending mail from a remote host.

> Well, if I am using qmail-inject then I'd very much like a copy of your
> script.  That'd be very useful.  Does the envelope header get stripped out
> before delivered to a mailbox?

The envelope "header" isn't really a header on the message; in a Unix
mailbox the envelope from field appears in the "From " header that's
the first line of the message.  Some MTAs put the envelope recipient into
the "Received:" fields (e.g. "received for <user@host>").

The envelope from field for qmail-inject can be set with the
environmental variables QMAILUSER and QMAILHOST, which you'll see in
the Perl script I'll send you.

Jim Lippard     [EMAIL PROTECTED]    http://www.discord.org/
Unsolicited bulk email charge:    $500/message.   Don't send me any.
PGP Fingerprint:  0C1F FE18 D311 1792 5EA8  43C8 7AD2 B485 DE75 841C

Reply via email to