Spamassassin Help

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

jgao
Posts: 55
Joined: Tue Feb 14, 2006 11:54 pm

Spamassassin Help

Postby jgao » Tue May 16, 2006 3:58 pm

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.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed May 17, 2006 7:01 am

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.

jgao
Posts: 55
Joined: Tue Feb 14, 2006 11:54 pm

Postby jgao » Wed May 17, 2006 1:37 pm

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.

btisdall
Scalix Star
Scalix Star
Posts: 373
Joined: Tue Nov 22, 2005 12:13 pm
Contact:

Postby btisdall » Wed May 17, 2006 2:42 pm

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?
Ben Tisdall
www.redcircleit.com
London

leigh
Posts: 109
Joined: Tue Feb 07, 2006 11:35 pm
Location: At my desk.
Contact:

Postby leigh » Thu May 18, 2006 2:59 am

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.

btisdall
Scalix Star
Scalix Star
Posts: 373
Joined: Tue Nov 22, 2005 12:13 pm
Contact:

Postby btisdall » Thu May 18, 2006 7:41 am

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.
Ben Tisdall

www.redcircleit.com

London

jgao
Posts: 55
Joined: Tue Feb 14, 2006 11:54 pm

Postby jgao » Thu May 18, 2006 6:14 pm

It works now after I changed to the right socket.

Thanks!!!


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 12 guests

cron