Citando Jake Vickers <[EMAIL PROTECTED]>:
> Eric "Shubes" wrote:
> > Ok, so here's my situation.
> >
> > I have two apparently identical low-volume servers. One shows the
> corruption
> > symptoms, the other doesn't (yet).
> >
> > Here is the local.cf (same on both):
> > ok_locales all
> > skip_rbl_checks 0
> > required_hits 5
> > report_safe 0
> > rewrite_header Subject [SPAM]
> > use_pyzor 1
> > use_auto_whitelist 1
> > bayes_path /home/vpopmail/.spamassassin/bayes
> > use_bayes 1
> > use_bayes_rules 1
> > bayes_auto_learn 1
> > bayes_auto_learn_threshold_spam 7.0
> > bayes_auto_learn_threshold_nonspam 0.1
> > bayes_auto_expire 1
> >
> > The problem seems to manifest itself when tokens begin to become due to
> expire.
> >
> > # spamassassin -D bayes --lint
> > shows that the problem server has never sync'd, while the one which hasn't
> > failed (yet) shows a sync'd value.
> >
> It normally syncs when you train it. Here's my local.cf:
> ok_locales all
> skip_rbl_checks 1
>
> required_hits 5
> report_safe 0
> bayes_auto_learn_threshold_spam 8.0
> rewrite_header Subject ***SPAM***
>
> use_pyzor 1
> use_dcc 1
> use_auto_whitelist 1
>
> use_bayes 1
> use_bayes_rules 1
> bayes_auto_learn 1
> use_auto_whitelist 1
>
> whitelist_from [EMAIL PROTECTED]
>
> score SARE_LOTTO_SPAM2 3.8
> score ADVANCE_FEE_2 2.4
> score ADVANCE_FEE_2 4.1
> score DIET_1 1.2
> score MPART_ALT_DIFF_COUNT 2.1
> score BAYES_05 0.5
> score BAYES_50 5.0
> score BAYES_95 9.5
> score BAYES_99 10.0
> score PYZOR_CHECK 5
> score AWL -20
> score DCC_CHECK 4.4
> score URIBL_JP_SURBL 9.5
> score SARE_GIF_STOX 6.5
> score SARE_GIF_ATTACH 2.5
>
> Which is pretty close to yours. I have yet to have a problem with the
> database (15 months since last touched). I do run a script nightly at
> midnight that checks my spam folder and learns from it, which is also
> where it would sync.....
>
> Here's another server's local.cf (this Bayes DB moved from the original
> server, to this one about 18 months ago; it probably has 28-30 months
> running):
>
> ok_locales all
> skip_rbl_checks 1
>
> required_hits 5.0
> report_safe 0
> rewrite_header Subject ***SPAM***
> use_pyzor 1
> use_bayes 1
> bayes_file_mode 0700
> #bayes_path /root/.spamassassin/bayes
> bayes_path /etc/mail/spamassassin/.spamassassin/bayes
> bayes_auto_learn_threshold_spam 8.0
> bayes_auto_expire 1
> #use_dcc 1
> use_auto_whitelist 1
> auto_whitelist_file_mode 0700
> #auto_whitelist_path /root/.spamassassin/auto-whitelist
> auto_whitelist_path /etc/mail/spamassassin/.spamassassin/auto-whitelist
>
> # Whitelist section manually added
> whitelist_from [EMAIL PROTECTED]
> whitelist_from [EMAIL PROTECTED]
> whitelist_from [EMAIL PROTECTED]
> whitelist_from [EMAIL PROTECTED]
> whitelist_from [EMAIL PROTECTED]
> whitelist_from [EMAIL PROTECTED]
> whitelist_from [EMAIL PROTECTED]
> whitelist_from [EMAIL PROTECTED]
>
> score SARE_LOTTO_SPAM2 3.8
> score ADVANCE_FEE_2 2.4
> score ADVANCE_FEE_2 4.1
> score DIET_1 1.2
> score MPART_ALT_DIFF_COUNT 2.1
> score BAYES_05 0.5
> score BAYES_50 5.0
> score BAYES_95 9.5
> score BAYES_99 10.0
> score PYZOR_CHECK 5
> score AWL -20
> score URIBL_JP_SURBL 9.5
> score SARE_GIF_STOX 6.5
> score SARE_GIF_ATTACH 2.5
>
>
>
>
> And here's a snip of the -D --lint:
>
> [932] dbg: bayes: DB journal sync: last sync: 1161817266
> [932] dbg: bayes: corpus size: nspam = 18150, nham = 16042
> [932] dbg: bayes: score = 0.0886822067616296
> [932] dbg: bayes: DB expiry: tokens in DB: 147679, Expiry max size:
> 150000, Oldest atime: 1161421975, Newest atime: 1161835713, Last expire:
> 1161743994, Current time: 1161836551
> [932] dbg: bayes: DB journal sync: last sync: 1161817266
>
>
> Which is also syncing. This one also runs a learning script nightly.
> Don't know if this helps you any or not....
>
>
> ---------------------------------------------------------------------
> QmailToaster hosted by: VR Hosted <http://www.vr.org>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
hi,
with suse I had do change the bayes_file_mode from 0700 to 666
And I've forgotten about these two:
-restart spamd BEFORE the sync.
-run sync as root and cp bayes settings from /etc/mail/spamassassin to
~./spamassassin "just in case"
about mysql backend, it IS slower and on a very, very busy server you have to
setup a separate instance to run bayes 'cause with too much mail the users
start to get erros authenticating. And with a webmail sql backend and sql
address books... Uff..
Been there, not good :(
---
Zsoft
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]