Spamassassin & MS
Kevin Miller
Kevin_Miller at CI.JUNEAU.AK.US
Thu Oct 16 00:22:01 IST 2003
OS: SUSE 8.0
MS: 4.24-5
Spamassassin: 2.60
Couple days ago I got bold and adventurous and upgraded Spamassassin 2.55 to
2.6 (from the tarballs). Things went just dapper for the most part; it
really was as easy as stopping MailScanner, then perl Makefile.PL, make,
make test, make install. I started MS afterwards, and then tailed
/var/log/mail and saw this weirdness:
Oct 13 14:07:39 mis-mx2-lnx spamd[27620]: checking message <9PS291LhupY> for
root:65534.
Oct 13 14:07:39 mis-mx2-lnx spamd[27614]: server killed by SIGTERM, shutting
down
Oct 13 14:07:39 mis-mx2-lnx spamd[27620]: identified spam (14.2/5.0) for
root:65534 in 0.0 seconds, 1544 bytes.
Oct 13 14:07:40 mis-mx2-lnx spamc[27622]: connect(AF_INET) to spamd at
127.0.0.1 failed, retrying (#1 of 3): Connection refused
Oct 13 14:07:41 mis-mx2-lnx spamc[27622]: connect(AF_INET) to spamd at
127.0.0.1 failed, retrying (#2 of 3): Connection refused
Oct 13 14:07:42 mis-mx2-lnx spamc[27622]: connect(AF_INET) to spamd at
127.0.0.1 failed, retrying (#3 of 3): Connection refused
Oct 13 14:07:43 mis-mx2-lnx spamc[27622]: connection attempt to spamd
aborted after 3 retries
Oct 13 14:07:48 mis-mx2-lnx spamd[27625]: server started on port 48373/tcp
(running version 2.60)
Oct 13 14:07:50 mis-mx2-lnx spamd[27625]: connection from localhost
[127.0.0.1] at port 37693
Oct 13 14:07:50 mis-mx2-lnx spamd[27631]: Still running as root: user not
specified with -u, not found, or set to root. Fall back to nobody.
Per the instructions on the spamassassin site, and Julian's admonition, I
did a "sa-learn --rebuild" before starting the upgrade. It returned some
error message that I didn't think to write down indicating that it couldn't
find a bayes database or some such. I didn't know at the time where the
bayes database was, so naively assumed I wasn't using Bayes.
Anyway, the errors stopped after MailScanner was restarted. I'm curious of
anybody else has seen this. I don't know if it was the sa-learn routine or
the install that initiated the attempt to spamd.
That got me thinking though about where it's keeping it's database. Looking
at the Spamassassin install instructions it references a .spamassassin file
in root's home dir. Just looked, and sure enough, it's there. Instructions
say it got upgraded but I hosed my journal file. Shoot, before today I
didn't know I had a journal file! Still seems to be going along fine
though. Be nice to have a system diagram for spamassassin along the lines
of the mailscanner diagram that was posted last month. Anyway, I thought I
might move it to /var/spool/spamassassin/ per the mailscanner version of
spamassassin user pref file. I figure I can just stop MS, edit the
spamassassin file to uncomment out the bayes_path, & bayes_file_mode, mv the
files over, then restart. Will that do it?
TIA...
...Kevin
-------------------
Kevin Miller Registered Linux User No: 307357
CBJ MIS Dept. Network Systems Administrator, Mail
Administrator
155 South Seward Street ph: (907) 586-0242
Juneau, Alaska 99801 fax: (907 586-4500
More information about the MailScanner
mailing list