Procmail Problems
Matthew Benjamin
msbenjamin12 at gmail.com
Thu Dec 21 17:11:19 UTC 2006
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 at 1236:/var/spool/mail/myhome"
>From myhome at mydomain.yickyack.com Thu Dec 21 10:22:54 2006
Subject: tttest
Folder: /var/spool/mail/myhome
--
mB.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20061221/9a94d74b/attachment-0001.htm>
More information about the fedora-list
mailing list