gnupg.org mailing list memberships reminder

Ashton ashton@pyro.net
Tue Feb 6 08:56:14 2001


David Ellement <ellement@sdd.hp.com>:


> > Can you share one of your subject-stripping recipes? I don't mean to
> > turn this into a procmail discussion. I'd just like to see how much
> > trouble it turns out to be.
A bit ...
> :0
> * ^Subject:.* \[wvware-users
> {
> # strip off '[Wvware-users] ' from subject
> :0 hw
> SUBJECT=|formail -xSubject: | sed -e 's/\[[Ww]vware-users] //'
>
> :0 fhw
> | formail -I "Subject:$SUBJECT"
> }
Whoa! and dump it back into the general pool? Weird.
:1
* ^Sender: owner-virus@lucifer.com { :1 fhw * ^Subject: .*\virus:\/.* | formail -i "Subject: $MATCH" :0 k.virus } $MATCH ends up with everything after the \/ Note that this kills threading via the Re: markers in some mailers ... I also use per-list killfiles ... :1 w: * ? /usr/bin/fgrep -i -f Z/virus /dev/null