Thanks Steve,
I think that my criteria are also expecting a direct == match on the cc
or to and not 'contains'.
If the message is sent cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
and my rule is (to|cc)*.:[EMAIL PROTECTED]
then the message is ignored.
Thoughts?
Cheers Don
Steve Holdoway wrote:
On Sun, 09 Apr 2006 19:54:00 +1200
Don Gould <[EMAIL PROTECTED]> wrote:
I'm getting mail turning up in the inbox when it shouldn't be.
Can anyone spot what I've done wrong?
I'm not sure I've got the folder names right where they've got spaces in
them... eg NZ Nog, NA Nog
Cheers Don
LOGFILE=/home/don/procmail.log
VERBOSE=on
MAILDIR=$HOME/mail
:0
* ^(To|Cc):[EMAIL PROTECTED]
CLUG
CLUG/
:0
* ^Subject:.*test
TEST
TEST/
:0
* ^(To|Cc):[EMAIL PROTECTED]
IPCop
...get the idea? To deliver to maildir, you need the terminating / Also, dunno
about dovecot, but courier expects a leading . to the folder name ( and the
directory has to exist ).
[snip]
You chould also end with a catchall...
:0
$MAILDIR/
hth,
Steve