On 12/21/06, Sam Tregar <sam@xxxxxxxxxx> wrote:
On Thu, 21 Dec 2006, Matthew Benjamin wrote:
> * ^Subject:*test
That should be :.* not :* to match your example. Your regular
_expression_ means "match a string that starts with Subject followed by
zero or more colons and the string test." Instead you want "match a
string that starts with Subject: followed by zero or more characters
and the string test.
-sam
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Looks like that worked however now, I get this in my log file...
procmail: Assigning "INCLUDERC=/home/myhome/.procmail/testing.rc"
procmail: Match on "^Subject:.*test"
procmail: Locking " in.testing.lock"
procmail: Error while writing to "_ZdE.FIsiFB.mydomain.yickyack.com"
procmail: Lock failure on "in.testing.lock"
procmail: Assigning "LASTFOLDER=in.testing"
procmail: Opening "in.testing"
procmail: Error while writing to "in.testing"
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@1920:/var/spool/mail/myhome"
From myhome@xxxxxxxxxxxxxxxxxxxxx Thu Dec 21 11:19:01 2006
Subject: test
Folder: /var/spool/mail/myhome
--
mB.