[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Full-Disclosure] Re: Subject prefix changing! READ THIS! SURVEY!!



I, for one, don't care what happens to the subject line as long as I can
still filter based on other things.  I use this recipe to remove the prefix,
so I never see the thing.  I care so little I wouldn't have bothered posting
if I didn't think this recipe would save someone a bit of aggrivation.

:0:
* ^Sender: .*full-disclosure-admin@lists.netsys.com
{
        SUBJECT=`formail -xSubject: \
          | sed -e 's/[;\`\\]/ /g' \
          | expand | sed -e 's/^[ ]*//g' -e 's/[ ]*$//g' \
          | sed -e 's/\[Full-Disclosure\] //'`
        :0fhw:
        | formail -i "Subject: ${SUBJECT}"

        :0:
        $MAILDIR/.full-disclosure/
}

-Dan

-- 
"Burnished gallows set with red
 Caress the fevered, empty mind
 Of man who hangs bloodied and blind
 To reach for wisdom, not for bread."  -- Deoridhe Grimsdaughter

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html