On 17 Nov 2004 Alex Pleiner ([EMAIL PROTECTED]) wrote:
* ChupaCabra <[EMAIL PROTECTED]> [2004-11-16 17:11]:

#:0:
#* ^Subject:.*[SPAM]
#$HOME/probably-spam/

Consider quoting the brackets:

* ^Subject: \[SPAM\]


Hopefully that will solve the problem, but in addition I recommend that you change these two lines:

MAILDIR=$HOME/Maildir/
DEFAULT=$HOME/Maildir/

to this one line:

MAILDIR=$HOME/Maildir

i.e., remove the trailing slash in your MAILDIR setting and do not explicitly set DEFAULT (instead use the procmail compiled-in DEFAULT and if it is wrong, re-compile procmail).

I discuss these issues in my Procmail Quick Start in this section:

 <http://www.ii.com/internet/robots/procmail/qs/#rcDOTtesting>

which among other things says this:

 # * Upon reading a line that contains MAILDIR=
 #    Procmail does a chdir to $MAILDIR and
 #    relative paths are relative to $MAILDIR
 # * Do not include a trailing slash in your MAILDIR setting
 # * The MAILDIR variable is an entirely different entity from the maildir 
mailbox format

And in this section:

 <http://www.ii.com/internet/robots/procmail/qs/#DEFAULT>

which says this:

 If you are using maildir-formatted mailboxes, it is best to
 specify both $ORGMAIL and $DEFAULT in the procmail source code
 and recompile.

Hope this helps,
NM

--
Infinite Ink: <http://www.ii.com/>
Reverse Spam Filtering: <http://www.ii.com/internet/messaging/spam/>
Procmail Quick Start: <http://www.ii.com/internet/robots/procmail/qs/>
IMAP Service Providers: <http://www.ii.com/internet/messaging/imap/isps/>

Reply via email to