First question:

I have the standard Shupp toaster installed and running on a
production machine, along with maildrop and spamassisan.  I'd like to
add a virus scanner, and see that I can use clamav or simscan.  From
the looks of it, simscan looks to be more popular among toaster users.
Are there any issues or gotchas I might run into while trying to
install simscan into an existing toaster set up on a RHEL 3.0 box?  Or
can I just follow the toaster to install and configure it and go?  I
really don't want to do anything that might render the mail services
on this box unusable for any long period of time.

Second question: I have spamassisan installed and running.  I've been
running sa-learn frequently on spam folders where I collect spam not
already detected by SA. I run it like this:

sa-learn --spam
/home/vpopmail/domains/domain.com/user/Maildir/.Spam/cur  --showdots
-u [EMAIL PROTECTED]

and

sa-learn --ham /home/vpopmail/domains/domain.com/user/Maildir/cur 
--showdots -u [EMAIL PROTECTED]

It responds with lots of dots and how many messages it has scanned and
learned from, which corresponds to the number of messages in the
folders.

But in the end, SA doesn't seem to be learning from these spam emails,
as I've gotten and learned the same spam mail dozens of times in the
last few days, and sa-learned them, but they're still getting through
with a 0.0 SA spam score in the headers.

When I look in /var/log/spamd/current, I'm getting this error:

Cannot open bayes databases
/etc/mail/spamassassin/.spamassassin/bayes_* R/O: tie failed:
Permission denied

And here are the permissions of that directory:

-rw-------    1 root     root          220 Sep  2 14:16
bayes.lock.piper.wghe.net.1406
-rw-------    1 root     root         2720 Sep  2 14:18
bayes.lock.piper.wghe.net.1481
-rw-------    1 root     root          441 Sep  2 14:09
bayes.lock.piper.wghe.net.31604
-rw-------    1 root     root          105 Sep  2 14:10
bayes.lock.piper.wghe.net.31763
-rw-------    1 root     root          105 Sep  2 14:10
bayes.lock.piper.wghe.net.31916
-rw-------    1 root     root          189 Sep  2 14:10
bayes.lock.piper.wghe.net.31947
-rw-------    1 root     root          462 Sep  2 14:11
bayes.lock.piper.wghe.net.32015
-rw-------    1 root     root         4347 Sep  2 14:14
bayes.lock.piper.wghe.net.32223
-rw-------    1 vpopmail vchkpw    4984832 Sep 13 20:50 bayes_seen
-rw-------    1 root     root      5459968 Sep 13 20:50 bayes_toks
-rw-------    1 root     root      2768896 Sep  2 14:09 bayes_toks.expire31433


Doing a ps aux|grep spamd shows spamd running as root: 

root      6185  0.0  0.0  1376   84 ?        S    Aug27   0:00 supervise spamd
vpopmail  6194  0.0  0.9 24484 20252 ?       S    Aug27   0:01
/usr/bin/perl -T -w /usr/bin/spamd -L -x -u vpopmail -s stderr
qmaill    6200  0.0  0.0  1520  136 ?        S    Aug27   0:02
/usr/local/bin/multilog t /var/log/spamd
vpopmail  9734  0.0  1.1 27568 23560 ?       S    Sep12   0:25 spamd child
vpopmail 10561  0.0  1.2 27388 24712 ?       S    Sep12   0:21 spamd child
vpopmail 23186  0.0  1.1 26876 24252 ?       S    Sep12   0:21 spamd child
vpopmail  7288  0.0  1.1 27724 23720 ?       S    Sep12   0:20 spamd child
vpopmail 16503  0.0  1.1 26636 23880 ?       S    Sep12   0:16 spamd child


What's the best way to fix this problem with the bayes filter files?

Many thanks in advance.

-Hank

Reply via email to