procmail question
David Relson
relson at osagesoftware.com
Thu Jan 9 05:16:20 CET 2003
At 10:10 PM 1/8/03, Jason S. Friedman wrote:
>Can you include relevant snippets of your .procmailrc?
>
>I'm not familiar with "debug=on" in .procmailrc. I have these lines in mine:
>LOGFILE=$HOME/procmail.log
>VERBOSE=1
>EOL="
>"
>
>The procmail.log file might have useful information.
Hello Jason,
"debug=on" was a brain spasm. Should have been "verbose=on". A slightly
trimmed copy of /etc/procmailrc is attached.
David
-------------- next part --------------
### bogofilter - filter & update word lists
VERBOSE=no
VERBOSE=yes
MAILDIR=/var/spool/mail
BOGOFILTER_DIR=/var/lib/bogofilter
#### backup ####
:0c:
mail.backup
####
#### Copy all mail to bogofilter-bugs
:0c:
* 1^0 From.bogofilter-bugs
bogofilter-bugs
####
## Silently drop all completely unreadable mail
:0:
* 1^0 ^\/Subject:.*=\?(.*big5|iso-2022-jp|ISO-2022-KR|euc-kr|gb2312|ks_c_5601-1987|windows-1251|windows-1256)\?
* 1^0 ^\/Content-Type:.*charset="?(.*big5|iso-2022-jp|ISO-2022-KR|euc-kr|gb2312|ks_c_5601-1987|windows-1251|windows-1256)
spam-unreadable
####
#### bogofilter passthrough-update ####
:0fw
| bogofilter -p -u -l -e -v
#### begin error catcher ####
# m-a 10/28/02
# if bogofilter failed, return the mail to the queue, the MTA will
# retry to deliver it later
# 75 is the value for EX_TEMPFAIL in /usr/include/sysexits.h
:0e
{
EXITCODE=75
HOST
}
#### end error catcher ####
:0c:
* ^X-Bogosity: Spam
spam
:0:
* ^X-Bogosity: Spam
spam-bogofilter
:0c:
* ^X-Bogosity: Unsure
unsure-bogofilter
#### end bogofilter passthrough-update ####
More information about the Bogofilter
mailing list