Page 1 of 1

Spamassassin - Can't Get It To Start

Posted: Mon Jun 26, 2006 1:27 pm
by alfista
Hi All,

I've followed the instructions in the installation guide, and then done some troubleshooting with posts from the forum including this one:

http://www.scalix.com/community/viewtopic.php?t=2416

in which I edited /etc/sysconfig/spamass-milter to fix and uncomment and fix this line:

SOCKET=/var/run/spamass-milter.sock

I've then restarted the service but am still not getting any headers.

I'm not a linux expert (but I'm getting better as I navigate through this) so please let me know what log or config file segments you might want to see.

Thanks,

Jason

Backtracking my work

Posted: Mon Jun 26, 2006 2:05 pm
by alfista
I'm doublechecking my work. I do not see this file in referenced in sendmail.cf in the filesystem.

Xspamassassin, S=local:/var/run/spamass.sock, F=, T=C:15m;S:4m;R:4m;E:10m

For that matter, I do not see /var/run/spamass-milter.sock.

I assume this is a bad thing.

Jason

Posted: Mon Jun 26, 2006 2:21 pm
by alfista
with respect to the first problem, I corrected the file

/etc/sysconfig/spamass-milter

to have this as the second line:

SOCKET=/var/run/spamass-milter/spamass-milter.sock

running tail -f /var/log/maillog I now see this error:

Jun 26 14:14:54 mail spamass-milter[15887]: spamass-milter 0.3.1 starting
Jun 26 14:14:54 mail spamass-milter[15887]: SpamAssassin: Unable to bind to port /var/run/spamass-milter.sock: Permission denied
Jun 26 14:14:54 mail spamass-milter[15887]: SpamAssassin: Unable to create listening socket on conn /var/run/spamass-milter.sock
Jun 26 14:14:54 mail spamass-milter[15887]: spamass-milter 0.3.1 exiting

looks like I have a permissions problem that will be a new adventure to fix.

Any thoughts on my second post about the other .SOCK file that appears missing?

Thanks,

Jason

Posted: Mon Jun 26, 2006 3:18 pm
by alfista
ok,

I've changed all references to
/var/run/spamass.sock
to
/var/run/spamass-milter/spamass-milter.sock

And rebooted. Everything seems to be working so far (the headers are there). Now its time to really get it cleaning up garbage.

Thanks,

Jason