PakOgah wrote:
Guys,
in /etc/mail/mailfilter line 163 written
cc "|sa-learn --spam"

but dont you think the spam database owned by vpopmail ??
# ls -ail /home/vpopmail/.spamassassin/
total 2380
14385296 drwx------  2 vpopmail vchkpw   16384 Apr 20 02:36 .
14385153 drwx------  9 vpopmail vchkpw    4096 Jan 24 13:50 ..
14385300 -rw------- 1 vpopmail vchkpw 704512 Apr 20 02:33 auto-whitelist
27443202 -rw-------  1 vpopmail vchkpw   11640 Apr 20 02:36 bayes_journal
14385238 -rw-------  1 vpopmail vchkpw  720896 Apr 20 02:19 bayes_seen
14385237 -rw-------  1 vpopmail vchkpw 1343488 Apr 20 02:26 bayes_toks

I check on wiki on how to train SA
http://wiki.qmailtoaster.com/index.php/SpamAssassin

sudo -u vpopmail -H /usr/local/bin/learnSpam.sh

where learnSpam.sh contain command

/usr/bin/sa-learn --ham ./*

dont you think on mailfilter should be like this?
cc "|sudo -u vpopmail -H sa-learn --spam"

what do you think, or you may had other opinion?
The bayes dir should be defined in the local.cf file, which will force it to use those files for the sa-learn process, if I remember right.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to