Page 1 of 1

Spamassassin Help

Posted: Tue May 16, 2006 3:58 pm
by jgao
I installed and configured Spamassassin with Scalix following the instruction on the technical note. Sendmail, spamassassin and spamass-milter, and scalix started without any error. But when I check the /var/log/maillog, I can't find anything about spamd except the folowing lines,

spamd starting
server started on port 783/tcp (running version 3.0.5)
server successfully spawned child process, pid 5897
server killed by SIGTERM, shutting down

Is my spamassassin and milter is working properly? If not, what else am I missing?

Thanks.

Posted: Wed May 17, 2006 7:01 am
by ScalixSupport
You are not giving us timestamps, so it is difficult for me to judge what the sequence is. The server should not be killed, that one is for sure. Why don't you post the complete loglines so we can have a look, please?

Cheers,

Sascha.

Posted: Wed May 17, 2006 1:37 pm
by jgao
I'm running FC4. The error in the mail log is

May 17 13:31:02 www sendmail[10432]: k4HHV2L1010432: Milter (spamassassin): to error state
May 17 13:31:02 www sendmail[10433]: k4HHV2Fu010433: Milter (spamassassin): local socket name /var/run/spamass.sock unsafe

When I tried to restart sendmail, it says:

Starting sendmail: WARNING: Xspamassassin: local socket name /var/run/spamass.sock missing

Thanks.

Posted: Wed May 17, 2006 2:42 pm
by btisdall
What are the permissions on your /var/run directory?

What do you have in /etc/sysconfig/spamass-milter?

What's the milter reference in /etc/init.d/spamass-milter?

Posted: Thu May 18, 2006 2:59 am
by leigh
Looks like you are using the wrong socket location. By default, FC4 puts the spamassassin socket in /var/run/spamass-milter/spamass-milter.sock, rather than /var/run/spamass-milter.sock
Try changing your /etc/mail/sendmail.cf to suit.

Posted: Thu May 18, 2006 7:41 am
by btisdall
leigh wrote:Looks like you are using the wrong socket location. By default, FC4 puts the spamassassin socket in /var/run/spamass-milter/spamass-milter.sock, rather than /var/run/spamass-milter.sock
Try changing your /etc/mail/sendmail.cf to suit.


Or if you prefer to stay away from sendmail.cf, uncomment & edit the socket value in /etc/sysconfig/spamass-milter so it reads:

Code: Select all

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


Don't forget to restart the milter.

Posted: Thu May 18, 2006 6:14 pm
by jgao
It works now after I changed to the right socket.

Thanks!!!