(This is not a bug, but FAQ element! Please add it to
README. There are a lot of other peoples in the world
inste in addition to americans and british. :-)
I had a lot of time debugging, why spamprobe does not
detect spam in incoming mails, but works great if I run it
manually and pass mailbox as input file. Finally I detect
that the root of problem is LANG (and LANGUAGE)
environment variables. They were not set when procmail
Now I use the following script (/usr/bin/spamprobe-
global) instead of direct spamprobe call:
ARGS="-8 -Hnone -H+subject -H+to -H+cc"
/usr/local/bin/spamprobe $ARGS -d $DIR $@
All works great.
I also wrote
| formail -I "X-SpamProbe: $SCORE 1"
to the first lines of /etc/procmail, and now all mail on the
hosting is scored.