Bayes not working?
Mark Meelhuysen
mark at meelhuysen.com
Thu Sep 14 08:30:40 UTC 2017
I just noticed that in my old MailScanner config (version 4) the spam.assassin.conf contains the following entries : (replaced my orgname with ORGNAME)
# Change X-YOURDOMAIN-COM to match your %org-name% as
# set in MailScanner.conf
bayes_ignore_header X-ORGNAME-MailScanner
bayes_ignore_header X-ORGNAME-MailScanner-SpamCheck
bayes_ignore_header X-ORGNAME-MailScanner-SpamScore
bayes_ignore_header X-ORGNAME-MailScanner-Information
My new spamassassin.conf contains the following: (replaced my orgname with ORGNAME)
# Change X-YOURDOMAIN-COM to match your %org-name% as
# set in MailScanner.conf
bayes_ignore_header ORGNAME-MailScanner
bayes_ignore_header ORGNAME-MailScanner-SpamCheck
bayes_ignore_header ORGNAME-MailScanner-SpamScore
bayes_ignore_header ORGNAME-MailScanner-Information
I am wondering if I also need to append the X and COM to the entry.
Van: MailScanner [mailto:mailscanner-bounces+mark=meelhuysen.com at lists.mailscanner.info] Namens Mark Meelhuysen
Verzonden: donderdag 14 september 2017 10:24
Aan: MailScanner Discussion <mailscanner at lists.mailscanner.info>
Onderwerp: RE: Bayes not working?
And i was looking but unable to find Bates!! ☺ No, just kidding..
In my config auto learn is enabled. It is by default.
I concluded bayes not working as I saw indeed that there are 0 spams in the DB.
The config is running for a couple of days. It detected some spam, does that mean that when the system detected 10 e-mails as spam that my Bayes DB should contain 10 spam emails?
Van: MailScanner [mailto:mailscanner-bounces+mark=meelhuysen.com at lists.mailscanner.info] Namens David While
Verzonden: donderdag 14 september 2017 10:20
Aan: MailScanner Discussion <mailscanner at lists.mailscanner.info<mailto:mailscanner at lists.mailscanner.info>>
Onderwerp: Re: Bayes not working?
Damn autocorrect! Should obviously be Bayes not Bates!!
Sent from BlueMail<http://www.bluemail.me/r?b=10455>
On 14 Sep 2017, at 09:18, David While <dwhile at while.org.uk<mailto:dwhile at while.org.uk>> wrote:
There appears to be 0 spam emails in the Bates database. Check that you have Bates set to autolearn otherwise you will not get any.
Sent from BlueMail <http://www.bluemail.me/r?b=10455>
On 14 Sep 2017, at 09:06, Mark Meelhuysen < mark at meelhuysen.com<mailto:mark at meelhuysen.com>> wrote:
Hi All,
I noticed that my Bayes DB is not building. My spamassassin –D –lint output for bayes:
Sep 14 10:02:06.389 [50764] dbg: bayes: tie-ing to DB file R/O /etc/MailScanner/bayes/bayes_toks
Sep 14 10:02:06.389 [50764] dbg: bayes: tie-ing to DB file R/O /etc/MailScanner/bayes/bayes_seen
Sep 14 10:02:06.389 [50764] dbg: bayes: found bayes db version 3
Sep 14 10:02:06.390 [50764] dbg: bayes: DB journal sync: last sync: 0
Sep 14 10:02:06.390 [50764] dbg: bayes: not available for scanning, only 0 spam(s) in bayes DB < 200
Sep 14 10:02:06.390 [50764] dbg: bayes: untie-ing
Any idea’s where to start looking? Bayes and spamassassin are not generating errors in MailScanner –lint and spamassassin –D --lint
Met vriendelijke groet,
Mark Meelhuysen
--
This message has been scanned for viruses and
dangerous content by MailScanner<http://www.mailscanner.info/>, and is
believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner<http://www.mailscanner.info/>, and is
believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner<http://www.mailscanner.info/>, and is
believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20170914/62b52b42/attachment.html>
More information about the MailScanner
mailing list