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
[31508] dbg: bayes: found bayes db version 3
[31508] dbg: bayes: DB journal sync: last sync: 0
[31508] dbg: bayes: not available for scanning, only 0 spam(s) in bayes DB <
200[31508] dbg: bayes: untie-ing
[31508] dbg: bayes: untie-ing db_toks
[31508] dbg: bayes: untie-ing db_seen
[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
[31508] dbg: bayes: found bayes db version 3
[31508] dbg: bayes: DB journal sync: last sync: 0
[31508] dbg: bayes: not available for scanning, only 0 spam(s) in bayes DB <
200[31508] dbg: bayes: untie-ing
[31508] dbg: bayes: untie-ing db_toks
[31508] dbg: bayes: untie-ing db_seen
[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
[31508] dbg: bayes: found bayes db version 3
[31508] dbg: bayes: DB journal sync: last sync: 0
[31508] dbg: bayes: not available for scanning, only 0 spam(s) in bayes DB <
200[31508] dbg: bayes: not scoring message, returning undef
[31508] dbg: bayes: DB expiry: tokens in DB: 37, Expiry max size: 150000,
Oldest atime: 1058995800, Newest atime: 1058995800, Last expire: 0, Current
time: 1156003079
[31508] dbg: bayes: DB journal sync: last sync: 0
[31508] dbg: bayes: untie-ing
[31508] dbg: bayes: untie-ing db_toks
[31508] dbg: bayes: untie-ing db_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.
--
-Eric 'shubes'
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]