procmail
[Top] [All Lists]

Re: [Procmail] Simple advice need....

1996-12-30 22:08:37
Hi Stan Ryckman!  I'm a programmer and I want to do dumb things!
Note to Doug:  you are inserting the string "[Procmail]" into subjects.
This is fine for your internal use, but when responding to things, please
take it out because you break "sort by subject" mail processing.
Looks like you're emulating listserv's SUBJECTHDR setting, but followups
to those lists remove the string so that users without that setting never
see the added string and thus can successfully sort by subject.
That said, how about sharing your recipe?  I'd been tempted to do it
for my own use!  :-)

        Sure.

# bounce Procmail posts
:0 E:
* ^Resent-From: procmail(_at_)Informatik(_dot_)RWTH-Aachen(_dot_)DE
{
:0:
* !^Subject:.*[[]Procmail[]]
| sed s/^"Subject:"/"Subject: [Procmail]"/ \
| formail -A"X-procmail-notice: Subject header(s) modified" >>$MAILDIR/tech
:0 E:
$MAILDIR/tech
}

        I did this since I am on quite a few lists and get like 100 
pieces of e-mail per day.  Sorry about not changing Subject: headers on 
outgoing mail, I'm sure I'll come up with a hack soon. ;-)

        Regards,

-- 
<Doug Muth>--<dmuth+146991231199600031114143992358898(_at_)ot(_dot_)com> - Spam 
me and die!
Think your homepage sucks?  You haven't seen http://www.ot.com/~dmuth yet!!
Anti-virus software and utils: | The Transformers fanfiction:|"Est Sularus|
http://www.ot.com/~dmuth/virus | http://www.ot.com/~dmuth/tf |oth Mithas!"|
-=-=-=-=Send a blank e-mail to dmuth+help(_at_)ot(_dot_)com for PGP key, 
etc.-=-=-=-=-

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