Spam Learn

Glenn Steen glenn.steen at gmail.com
Fri Mar 9 15:08:28 CET 2007


On 09/03/07, Fabio Silva <fssilva at gmail.com> wrote:
> Hi all, i have some problem with mailscanner... i make the
> installation and its getting spam and virus.. its ok... but i need to
> teach mailscanner to learn some mails that is spam and some mails that
> isnt spam...
>
> If i go to mailwatch and then Reports --> Message Operations -->
> select a mail that IS SPAM but mailscanner didnt catch it as spam and
> then click in Learn... nothing is showed to me after it.. I dont know
> more what do to solve this problem... somebody has it working
> properly? how can i teach spamassassin by another way?
>
> If i click in Tools / Links --> "SpamAssassin Bayes Database Info" i
> get no result too... butt i can see in my error_log of apache the
> following message..
> "ERROR: Bayes dump returned an error, please re-run with -D for more
> information"
>
> But if i run the command
> sa-learn -p /etc/MailScanner/spam.assassin.prefs.conf --dump magic
> with the user root,  i get the following
> 0.000          0          3          0  non-token data: bayes db version
> 0.000          0       2531          0  non-token data: nspam
> 0.000          0       8026          0  non-token data: nham
> 0.000          0     144779          0  non-token data: ntokens
> 0.000          0 1173112958          0  non-token data: oldest atime
> 0.000          0 1173374560          0  non-token data: newest atime
> 0.000          0 1173373226          0  non-token data: last journal sync atime
> 0.000          0 1173355798          0  non-token data: last expiry atime
> 0.000          0     242835          0  non-token data: last expire atime delta
> 0.000          0      18010          0  non-token data: last expire
> reduction count
>
> Any ideia?
>
> Best Regards,

1) You are asking on the wrong list.... MailWatch has a very active
list of its own.
2) Your apache webserver runs as an unprivileged user/group, like
"apache:apache", which likely has neither read nor write permissions
on the bayes files. Fix that and things should start working (tip: "su
- apache -s /bin/bash" and then try access the files;)

Cheers
-- 
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list