On Wed, May 03, 2006 at 09:34:19AM +0930, David Purton wrote: <snip> > I ended up using fgrep, which if I had read the grep manual I would have > found does what I want (Blush). > > This works well: > > # subject kill file > SUBJECT=`formail -zxSubject:` > :0: > * ? fgrep -qx "$SUBJECT" $HOME/.mutt.killfile > caughtspam
Just out of curiosity (I'm sure this is in the manual, but a cursory glimpse didn't find it), what command are you using from mutt to dump the subject to ~/.mutt.killfile ? -- Christopher Nelson -- [EMAIL PROTECTED] ----------------------------------------------------------------------- You have an ability to sense and know higher truth. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]