[97997] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: sendmail 8.9.1: line breaks in headers; mailing to files

daemon@ATHENA.MIT.EDU (Thomas Ribbrock \(Design/DEG\))
Fri Nov 6 05:44:13 1998

Date: Fri, 6 Nov 1998 10:45:22 +0000
From: "Thomas Ribbrock \(Design/DEG\)" <argathin@iname.com>
To: redhat-list@redhat.com
Mail-Followup-To: redhat-list@redhat.com
In-Reply-To: <3.0.5.32.19981105232030.00801660@fmol.5sigcmd.army.mil>; from Anthony E. Greene on Thu, Nov 05, 1998 at 11:20:30PM +0100
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Anthony E. Greene writes:
> At 14:31 1998-11-05 -0500, Alex Vorobiev wrote:
> >migrated 8.8.5 -> 8.9.1a
> >
> >Q1:  	new version inserts line breaks in headers like 'Received:', if
> >	the line is longer than a certain ## of characters.  this is breaking 
> >	my custom scripts that are used to the old format - all on one line 
> >	header. is there a way to tell sendmail to stop inserting line breaks?
> 
> You might consider altering your scripts to allow for this RFC822-legal
> behavior. Any header line that starts with whitespace is part of the
> previous line.

To that end you might want to have a look at formail -c (formail is part of
the procmail package, man formail for details), which might be of help
there. Mind you, I haven't tried it myself, though.

Thomas
-- 
             "Look, Ma, no obsolete quotes and plain text only!"

     Thomas Ribbrock | http://www.bigfoot.com/~kaytan | ICQ#: 15839919
   "You have to live on the edge of reality - to make your dreams come true!"


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post