Spamassassin, KB (126747), not working - error

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

steves
Posts: 23
Joined: Mon Mar 20, 2006 10:02 pm

Spamassassin, KB (126747), not working - error

Postby steves » Mon Mar 20, 2006 10:57 pm

Using Fedora Core 4, following the instructions in Knowledge Base 126747 but I get
errors from sendmail.

in section 5. of the document I do not have spamd in /etc/init.d/ but I do have spamassassin & spamass-milter.

The documentation says to enable spamd as a service,
Am I missing an rpm?

#chkconfig --add spamd
#chkconfig --level 345 spamd on
#service spamd start

I had to bypass the above step...

Restarting sendmail give me the foillowing error
Starting sendmail: WARNING: Xspamassassin: local socket name /var/run/spamass.sock missing

Changed the Xspamassassin line to
Xspamassassin, S=local:/var/run/spamass-milter/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m

Restarted Sendmail again, looks ok

Getting an error on "omon", ignored it for now
[root@m1 ~]# omon smtpd
/var/named/chroot/proc: Permission denied
Enabling 1 subsystem(s).

[root@m1 ~]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
554 5.0.0 Invalid macro/class character )
554 5.0.0 Unbalanced { on if_addr
554 5.0.0 Unable to assign macro/class ID (mid = 0xffffffff)
554 5.0.0 Invalid macro/class character )
554 5.0.0 Unbalanced { on if_addr
554 5.0.0 Unable to assign macro/class ID (mid = 0xffffffff)
220 m1.xxxxxxx.com.au ESMTP Sendmail 8.13.4/8.13.4; Tue, 21 Mar 2006 13:46:47 +1100

I did check all the configurations, brackets...


Can someone please look into that knowledge base, it doesn't seem to work, or I'm doing
something wrong.

Last time I tried to configure spamassassnin on another "Scalix" system FC4 I was getting Xspamassassin Macro does not exist type error.

mephisto

Re: Spamassassin, KB (126747), not working - error

Postby mephisto » Mon Mar 20, 2006 11:04 pm

steves wrote:The documentation says to enable spamd as a service,
Am I missing an rpm?
No, the documentation is false here. You need to enable spamassassin and spamass-milter.

I also had to change the same line in the sendmail config.

Getting an error on "omon", ignored it for now

Seen the same thing in an FC4 installation I did awhile ago - seems to be related to a chrooted bind, but harmless.

burhankhalid
Posts: 137
Joined: Mon Dec 19, 2005 8:31 am

Postby burhankhalid » Tue Mar 21, 2006 7:01 am

After wrestling with this for a while, I managed to solve this problem by ensuring that the milter and sendmail were pointing to the same socket file (they are not by default).

After this was resolved, I had to remember to restart sendmail, spamassassin, and spamass-milter before things would work properly.

Also, since on FC4 spamass-milter runs as its own user (sa-milter) you must have the socket in a directory that is owned by sa-milter:sa-milter. Just sticking it in /var/run/ doesn't do it (had a few head scratching sessions here).

Finally, if you like to get subject rewriting, remove the -m that's in /etc/sysconfig/spamass-milter -- otherwise your subjects won't get rewritten.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 9 guests