Can someone tell me what I am doing wrong. I am setting up test filter with procmail. To filter out any emails with the word test or any combination, such as 'tttttest'. I have a .procmailrc, testing.rc all in .procmail directory.
testing.rc file
:0:in.testing.lock
* ^Subject:*test
in.testing
.procmailrc file
MAILDIR=/var/spool/mail
# Directory for storing procmail log and rc files
PMDIR=$HOME/.procmail
LOGFILE=$PMDIR/log
# Next line for testing. Add # at beginning when not needed.
INCLUDERC=$PMDIR/testing.rc
log file
procmail: Assigning "INCLUDERC=/home/myhome/.procmail/testing.rc"
procmail: No match on "^Subject:*test"
procmail: Locking "/var/spool/mail/myhome.lock"
procmail: Assigning "LASTFOLDER=/var/spool/mail/myhome"
procmail: Opening "/var/spool/mail/myhome"
procmail: Acquiring kernel-lock
procmail: Unlocking "/var/spool/mail/myhome.lock"
procmail: Notified comsat: "myhome@1236:/var/spool/mail/myhome"
From myhome@xxxxxxxxxxxxxxxxxxxxx
Thu Dec 21 10:22:54 2006
Subject: tttest
Folder: /var/spool/mail/myhome
--
mB.