Eric "Shubes" wrote:
I'm trying to figure out what's going on with my bayes database
situation. Maybe it's working fine, but I can't quite tell.
I run
# spamassassin -D bayes --lint
[EMAIL PROTECTED] logs]# spamassassin -D bayes --lint
[31508] dbg: bayes: tie-ing to DB file R/O /root/.spamassassin/bayes_toks
[31508] dbg: bayes: tie-ing to DB file R/O /root/.spamassassin/bayes_seen
It says 0 spam(s) in bayes DB. Then I notice that it's using a
database at /root/.spamassassin, not the live one at
/home/vpopmail/.spamassassin.
Fair enough. So how do I run the test as user vpopmail?
.) there's no -u option for spamassassin as there is for spamd
.) I try
# su vpopmail
This account is currently not available.
Is there any way to run "spamassassin -D --lint" as user vpopmail?
I suppose I could copy the vpopmail files to the root' location, but I
was hoping for something a little cleaner.
The bayes DB that SpamAssassin is actually using will be defined in your
lcoal.cf file. I know originally it was in
/etc/mail/spamassassin/.spamassassin and then it moved to
/root/.spamassassin (not sure if it moved again or not). You should see
something like this if it's working right when you run spamassassin -D
--lint:
[12512] dbg: bayes: DB journal sync: last sync: 1156140306
[12512] dbg: bayes: corpus size: nspam = 1143, nham = 651
Those are the number of messages on this particular server in the Bayes
DB. Make sure the config files match the files you're trying to use. An
upgrade would probably have wiped your old DB out and started over....
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]