Thomas Schlosser wrote:
Hi,

I have a SUSE 9.3 mailserver with Postfix and SA 3.1.7 running.

Unfortunately the commands (run as root)
spamassassin  <mail
and
spamc <mail
calculate different results. In fact they seem to run different tests.

I postet the details in a german forum:
http://www.linuxforen.de/forums/showthread.php?t=229016
(including the scan reports!)

One source could be the associated user, but when trying to run either
spamd/spamc or spamassassin with different users (my account, root,
nobody, spamfilt [which is the dummy account to run spamd]) no result
matches the plain spamassassin call as root.
I have no user specific prefs (that I know of). I started to build a
Bayes-DB the last days (which seems to be found under user "spamfilt).
I even tried to run spamd with -c or with -x.

Any hints for me, where I can look after? Any informations I could provide?

spamd:
/usr/local/bin/spamd -d -c -u spamfilt
--configpath=/usr/local/share/spamassassin
--siteconfigpath=/etc/mail/spamassassin -r /var/run/spamd.pid
local.cf:
rewrite_header Subject ****SPAM(_SCORE_)****
report_safe 1
use_bayes 1
bayes_auto_learn 1

Thanks in andvance!
Thomas

I had the same issue. I am willing to bet that it is the bayes that is not being used by spamc. If so, this is due to the location of the bayes_path in your config file. Make sure that you specify a place for that. You may need to copy /root/.spamassassin/bayes_* to another location.

For example, if you were to stick those files in /etc/mail/spamassassin/bayes/, then in your config file, put this....

bayes_path /etc/mail/spamassassin/bayes/bayes

Yes, the bayes on the end is correct. It seems like it should be bayes_path /etc/mail/spamassassin/bayes/bayes* or something like that, but it isn't.

-=Aubrey=-


Reply via email to