On Sun, May 15, 2005 at 12:11:16PM -0700, Kevin Williams wrote:
I use qmail and in my .qmail file, launch procmail using:
|preline /usr/bin/procmail -m
/var/qmail/mailnames/##.com/kevin/.procmailrc || exit 111
This seems to be launch procmail correctly. My .procmailrc looks like:
SHELL=/bin/sh
MAILDIR=/var/qmail/mailnames/##.com/kevin/Maildir
DEFAULT=/var/qmail/mailnames/##.com/kevin/Maildir
LOGFILE = /var/qmail/mailnames/##.com/kevin/procmail-##.com.log
HOST=##.com
^^^^^^^^^^^^^^^^
VERBOSE=yes
DEBUG=yes
:0fw
| bogofilter -u -l -d /var/qmail/mailnames/##.com/kevin/.bogofilter
:0e
{ EXITCODE=75 HOST }
^^^^^^^^^^^^^^^^^^^^^
# file the mail to spam-bogofilter if it's spam.
:0
* ^X-Bogosity: Spam, tests=bogofilter
/.Junk/
:0:
/
--------
The goal is to call bogofilter, move scored spam into the (I have a
maildir style mailbox) subdirectory; otherwise, put it in the main
inbox. However, I get no mail :(. Here's is a snippet of my procmail
log:
If you unset HOST or reset it to a value different from
the compiled-in value, procmail exits without delivering the message.
--
dman
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail