procmail
[Top] [All Lists]

Re: Changing Mail Headers for messages sent to the list (Re:

1997-01-06 21:23:17
Responding To:  dmuth+3563401061997220539771583412868268(_at_)ot(_dot_)com  
(Doug Muth)
Original Date:  Mon, 6 Jan 1997 22:08:13 -0500 (EST)
Message-ID:     
<199701070308(_dot_)WAA00410(_at_)dmuth(_dot_)ppp(_dot_)ot(_dot_)net>

Actually, I was thinking along the lines of using something to
replace sendmail, parse the outgoing mail, and pass it along to
sendmail. But, since sendmail is too damn complex, I'm not even
going to THINK about attempting it. :-/

Well, try this:

#!/bin/sh

cat - | sed 's/Subject\:\ Re\:\ \[Procmail\]\ /Subject\:\ /g' | \
/usr/lib/sendmail "$@"

exit 0

Instead of invoking 'sendmail' when you send a message, use this.

It will get the "Subject: Re: [Procmail] " line and change it to  
"Subject: "


TjL

--
        Tj Luoma (luomat(_at_)peak(_dot_)org)
                http://www.next.peak.org/~luomat
                        Awaiting Apple's NeXTStep

<Prev in Thread] Current Thread [Next in Thread>