🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.sendmail
Article #53

Re: How can I remove Precedence headers?

#53
From: Neil Rickert
Date: Tue, 03 Nov 1992 23:20
24 lines
1532 bytes
In article <Bx5FCq.BA7@micrognosis.co.uk> nreadwin@micrognosis.co.uk (Neil Readwin) writes:
>I have a problem with Precedence headers being passed from the sendmail on
>our Ultrix box to the mr_mailer channel. This channel (the UMC interface
>to ALL-IN-1 mail) bounces the mail unless that value of the Precedence:
>header is one of {junk, special-delivery, first-class}. Gak!
>
>I figure that the easiest way to fix this is to delete the header. How can
>I do this?

If your "mr_mailer" is a local program, you can first pipe the message
through a 'sed' script to filter out "Precedence:".

>           I tried adding a line like ...
>
>H?u?Precedence:
>
>(where u is a mailer flag that isn't defined for this channel) but the
>qf (and the message) still end up containing the header (with no question
>marks).

Won't work.  If there is an existing header, the header from the config
file is discarded and the existing header retained.  This happens before
the "qf" file is built, so the "H?u?" line will not be in the queue file
unless there is no incoming "Precedence:" header in original message.
Technical Details
Message-ID: <1992Nov3.232050.2756@mp.cs.niu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!wupost!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!mp.cs.niu.edu!rickert
References: <Bx5FCq.BA7@micrognosis.co.uk>

Show Full Headers
Complete Article Headers
Newsgroups: comp.mail.sendmail
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!wupost!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!mp.cs.niu.edu!rickert
From: rickert@mp.cs.niu.edu (Neil Rickert)
Subject: Re: How can I remove Precedence headers?
Message-ID: <1992Nov3.232050.2756@mp.cs.niu.edu>
Organization: Northern Illinois University
References: <Bx5FCq.BA7@micrognosis.co.uk>
Date: Tue, 3 Nov 1992 23:20:50 GMT
Lines: 25