Great Circle Associates List-Managers
(March 1999)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: RE: sendmail -f
From: "Andy Finkenstadt" <andyf @ simutronics . com>
Date: Thu, 25 Mar 1999 15:46:29 -0600
To: "'Mitch Collinsworth'" <mkc @ Graphics . Cornell . EDU>
Cc: <list-managers @ greatcircle . com>
Importance: Normal
In-reply-to: <199903251721.AA156662490@broccoli.graphics.cornell.edu>

Isn't this because of the flags on the Mprog mailer that says to output a
"From_" line, which on entry to another sendmail process forces sendmail to
insert a blank line in front of the headers it didn't see?  If so, this is
why tail+2 is needed, and why wrapper (majordomo, really) doesn't... it
spawns sendmail and submits ONLY headers down the pipe.

I use procmail's formail -s instead of tail+2, myself, since it works no
matter what the flags are for the Mprog mailer entry (if using sendmail) or
with smail, or local.mail, and so on.

Andy


-----Original Message-----
From:	list-managers-owner@GreatCircle.COM
[mailto:list-managers-owner@GreatCircle.COM] On Behalf Of Mitch Collinsworth
Sent:	Thursday, March 25, 1999 11:22 AM
To:	Ronald F. Guilmette
Cc:	List-Managers@GreatCircle.COM; mkc@broccoli.graphics.cornell.edu
Subject:	Re: sendmail -f


>>Anybody here know how to get 8.9.1 to do the right thing?
>
>Try this alias instead.  It might work.  I think it will.
>
>foo:	"|/usr/bin/tail +2 | /usr/sbin/sendmail -oi -fowner-foo foo-out"

Ok, remarkably enough this does work, which means the blank line
is getting prepended to the message _before_ it is passed to the
command in the alias.

Surely there's a way to prevent the blank line from happening in the
first place.  I find it hard to believe that everyone running a recent
version of sendmail is adding tail +2 to all their list aliases.
Or do programs like majordomo's 'wrapper' check for this and do it
if needed?

-Mitch




Follow-Ups:
References:
Indexed By Date Previous: Re: sendmail -f
From: Mitch Collinsworth <mkc@Graphics.Cornell.EDU>
Next: User docs about good (and bad) quoting (and other) practices
From: Jeffrey Goldberg <J.Goldberg@Cranfield.ac.uk>
Indexed By Thread Previous: Re: sendmail -f
From: Mitch Collinsworth <mkc@Graphics.Cornell.EDU>
Next: Re: sendmail -f
From: Mitch Collinsworth <mkc@Graphics.Cornell.EDU>

Google
 
Search Internet Search www.greatcircle.com