On 04/12/13 09:57, Tony Berth wrote: > Dear group, > > I'm running a 386 5.2 OpenBSD box with sendmail and would like to strip > following headers from the outgoing e-mails: > > *Received:* from x.x.x.x > (SquirrelMail authenticated user <user>) > by new.host.name with HTTP; > Thu, 11 Apr 2013 14:31:59 +0300 > [from the above I would like to strip the IP address of the webclient, the > MUA as well as the logged-in user] > > *References:* <[email protected]> > <[email protected]> > <[email protected]> > <[email protected]> > [from the above I would like to strip the history of the refes] > > *User-Agent:* SquirrelMail/1.4.22 > [from the above I would like to remove the MUA] > > Thanks > > Tony
This is possible with the checkcompat() function - see the O'Reilly book "Sendmail", 4th Edition, Appendix C, "The checkcompat() Function". I successfully use this approach for removing various headers. -- Alexei Malinin

