Jason Williams <jwilliams(_at_)courtesymortgage(_dot_)com> wrote:
$ cat procmailrc
# tell procmail we use Maildir style
DEFAULT="$HOME/Maildir/"
SPAM="/home/spamcop/Maildir/new"
:0:
* ^X-Spam-Flag: YES
$SPAM
I have setup postfix with:
mailbox_command = usr/bin/procmail -m /etc/procmailrc
But its not working. Its probably because my lack of experience.
Anyone have any recommendations?
well, maildir format would require the spam line to be :-
SPAM="/home/spamcop/Maildir/"
The / on the end is important, as this tells procmail to use maildir format.
The cur and new directories inside the /home/spamcop/Maildir/ directory are
all part of that mailbox. by using the full path, you are telling procmail
to use a file called /home/spamcop/Maildir/new in mailfile format. As that
is a directory, this will not work.
--
Martin
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail