Hmm. That is curious. I'm running 1.03, no patches. Is there any way I could 
have configured qmail to cause this? If not, do you have any suggestions about 
what could be happening here?

> It just worked for me.
> 
> Contents of test:
> 
> ======== start of test ==========
> From: Tim Mayo <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> 
> This is a test.
> ======== end of test ============
> 
> Command to inject message:
> 
> cat test | /var/qmail/bin/qmail-inject
> 
> Resulting mail message:
> 
> ================ start of message ===================
> Return-Path: <[EMAIL PROTECTED]>
> Delivered-To: [EMAIL PROTECTED]
> Received: (qmail 15985 invoked from network); 25 Aug 1999 04:16:55 -0000
> Received: from uranium.nb.net (209.161.64.33)
>   by plutonium.mayod.nb.net with SMTP; 25 Aug 1999 04:16:55 -0000
> Received: (qmail 5175 invoked by uid 1318); 25 Aug 1999 04:16:49 -0000
> Delivered-To: [EMAIL PROTECTED]
> Received: (qmail 6340 invoked from network); 25 Aug 1999 04:16:49 -0000
> Received: from plutonium.mayod.nb.net (209.161.64.93)
>   by uranium.nb.net with SMTP; 25 Aug 1999 04:16:49 -0000
> Received: (qmail 15982 invoked by uid 501); 25 Aug 1999 04:16:48 -0000
> Date: 25 Aug 1999 04:16:48 -0000
> Message-ID: <[EMAIL PROTECTED]>
> From: Tim Mayo <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
>  
> This is a test.
> ================ end of message ================
> 
> Are you running a patched version of qmail?  Mine is not.
> 
> On Tue, 24 Aug 1999 [EMAIL PROTECTED] wrote:
> 
> > If I do "cat test | /var/qmail/bin/qmail-inject" and test is:
> > 
> > From: Joel Uckelman <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > 
> > I get back: "From: [EMAIL PROTECTED]" instead. I've also tried sending this 
> > to a friend, with the same results. Is there any way I can force qmail to send 
> > out a specified From: header?
> > 
> > > qmail DOESN'T touch From: headers.  qmail-inject expects you to supply the
> > > From: header in the message you send to its standard input.  If you don't
> > > supply one it builds one based on the name of the user invoking
> > > qmail-inject.
> > > 
> > > On Tue, 24 Aug 1999 [EMAIL PROTECTED] wrote:
> > > 
> > > > Does anyone know why qmail would replace the From: field in my outgoing mail 
> > > > (which should be "From: Joel Uckelman <[EMAIL PROTECTED]>") with just my 
> > > > email address? Is there some way I can stop qmail from doing this?
> > > > 
> > > > (NB: as far as I can tell, it is qmail's fault, as it happens when I inject a 
> > > > message directly as well as through my MUA).
> > > > -- 
> > > > J. Uckelman
> > > > [EMAIL PROTECTED]
> > > > http://www.public.iastate.edu/~uckelman/
> > > > 
> > > > 
> > > > 
> > > 
> > > ---------------------------------
> > > Timothy L. Mayo                           mailto:[EMAIL PROTECTED]
> > > Senior Systems Administrator
> > > localconnect(sm)
> > > http://www.localconnect.net/
> > > 
> > > The National Business Network Inc.        http://www.nb.net/
> > > One Monroeville Center, Suite 850
> > > Monroeville, PA  15146
> > > (412) 810-8888 Phone
> > > (412) 810-8886 Fax
> > 
> > -- 
> > J. Uckelman
> > [EMAIL PROTECTED]
> > http://www.public.iastate.edu/~uckelman/
> > 
> > 
> > 
> 
> ---------------------------------
> Timothy L. Mayo                               mailto:[EMAIL PROTECTED]
> Senior Systems Administrator
> localconnect(sm)
> http://www.localconnect.net/
> 
> The National Business Network Inc.    http://www.nb.net/
> One Monroeville Center, Suite 850
> Monroeville, PA  15146
> (412) 810-8888 Phone
> (412) 810-8886 Fax

-- 
J. Uckelman
[EMAIL PROTECTED]
http://www.public.iastate.edu/~uckelman/

Reply via email to