MailScanner prevents bayes mysql autolearn
ADMX - Antal Delahaije
antal at admx.nl
Thu Jun 11 13:20:17 UTC 2015
Ok thanks, this seems to be working.
I also found another solution for the read/write error to the bayes journal from within the MailWatch interface.
sed -i 's/sa-learn -p/sa-learn --no-sync -p/' /var/www/html/mailscanner/functions.php
But your solution, using SDBM is a better one. So far my bayes_journal is created with the correct permissions and performance seems great.
Thanks again. Regards,
Antal.
-----Oorspronkelijk bericht-----
Van: MailScanner [mailto:mailscanner-bounces at lists.mailscanner.info] Namens Mark Sapiro
Verzonden: donderdag 11 juni 2015 2:08
Aan: mailscanner at lists.mailscanner.info
Onderwerp: Re: MailScanner prevents bayes mysql autolearn
On 06/10/2015 02:20 PM, ADMX - Antal Delahaije wrote:
>
> I think MailScanner is somehow preventing spamassassin to autolearn
> via MySQL. Is this possible what I am doing via MailScanner? Maybe
> some misconfiguration?
>
>
>
> Or does anybody know the solution to get autolearn working the
> conventional way?
I use these settings in spam.assassin.prefs.conf
bayes_path /var/spool/MailScanner/spamassassin/bayes
bayes_file_mode 0770
bayes_store_module Mail::SpamAssassin::BayesStore::SDBM
I also have g+s on the /var/spool/MailScanner/spamassassin/ directory.
That works for me and it worked for me before I added
bayes_store_module Mail::SpamAssassin::BayesStore::SDBM
to use SDBM.
The g+s on the directory is to maintain the group on the subordinate files when they are occasionally changed by some 'root' process.
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/listinfo/mailscanner
More information about the MailScanner
mailing list