Maybe all you gurus can help a blind man see. I need a simple recipe that
will look for the keywords of 'remove, suspend, delete, or unsubscribe' from
the subject OR the body of the message. The action will simply place these
messages into the file called remove or something.
I am finding the keywords on the Subject line but not the body.
I have got, so far:
#Preliminaries
SHELL = /usr/local/bin/bash
MAILDIR = $HOME/mail # Make sure this directory exists!
PMDIR = $HOME/Procmail
LOGFILE = $PMDIR/log
LOGABSTRACT = "all"
VERBOSE = "on"
SPOOL = $HOME/Procmail/spool
# Backup storage
BUP_SPOOL = $SPOOL/backup.spool
:0 c:
$BUP_SPOOL
:O:
* H ?? ^Subject:.*(delete|remove|suspend)|\
* B ?? .*keyword
remove
Sorry for the simplistic request.
Michael