I'm fairly new to Linux and am attepting to install Scalix. So far I have/had everything working until I tried to install clamav. Once I installed clamav my service router stopped and I cannot seem to get it going again.
I'm sure I changed a config file someplace and cannot recall where or what.
System details:
RH EL4
Scalix ver 11.0.0.565 - beta2
Any assistance would be much appreciated
Thanks
Ray
Here is the error:
ERROR Service Router(Service Router) 11.21.06 15:11:17
[OM 5181] Reply timed out or invalid - Mapper protocol problem.
Command sent: <none - expect greeting reply>
Reply received: 503 Configuration for anti-virus engine "ClamAV" broken - no engine specified
ERROR Service Router(Service Router) 11.21.06 15:11:17
[OM 5181] Reply timed out or invalid - Mapper protocol problem.
Command sent: QUIT Please Close This Session
Reply received: 220 Virus Scanning Client Ready
The great advantage of amavis is that you have a single point in your mail routing which can take care of many smaller steps e.g. anti-spam, anti-virus anti-whatever so it simplifies things greatly compared to routing mail to each instance seperately.
Could either of you suggest a good place to read/view an overview of how it all works? I've followed the wiki and have been going in circles trying to figure out what is wrong with my sockets etc etc. The wiki says "how" but it doesn't really break it down into "how to install amavisd" and smaller topics like "how to add clamav/clamd to amavisd" and "how to add spamassassin to amavisd". I don't know at what point in the whole process I'm making the error.
I'm in the same boat as you. I followed the Wiki doc, but many items within are assumed you know what they are talking about, e.g. editing the amavisd config file. I'm still trying to figure most of the stuff out and have not gotten anything to work.
I broke the service router when installing clamav then I installed ver 11 which fixed the service router, but I broke it again installing amavis.
Once I figure out what's going on myself I'll be happy to share my experience.
I tried to config the amavisd config file as the wiki specifies but I keep getting this error when I start the services.
[root@redhat/]# etc/init.d/amavisd start
Starting Mail Virus Scanner (amavisd): '=' is not a valid variable name at /usr/sbin/amavisd line 380
BEGIN failed--compilation aborted at /usr/sbin/amavisd line 380.
[FAILED]
Here is line 380: use vars @EXPORT;
I do not believe this is one of the line I was suppose to edit.
I finally got mine going...a bit of cat & mouse to find the problem but it's running well now...I just can't figure out how to update the antivirus definitions.
My line 380 doesn't match yours...mine is a dozen or so lines below yours....have you added anything to this file? This was not one that needed to be modified to get things working. The amavisd files I had to edit were:
/etc/amavisd/amavisd.conf (amavisd configuration)
/etc/clamd/amavisd.conf (clamd config...in spite of it's name)
Aside from these two there was a couple startup scripts.
When I start the clamav-server it says it's out of date and needs updating...but I can't find a freshclam file on the machine! Apparently clamav-server (which is the clam package for FC5) is clamd in a wrapper of some sort...I haven't read much else one it...it's just been a relief to have the spam filtering at least working.
Did you back up the file before modifying it? I heard it's possible to re-extract the file from the package rpm but I'm not the one to ask as this is my first linux project.
My problem came down to finding out what path was supposed to point at each .sock file. It's pretty well detailed in that link I posted earlier.
When I run "freshclam" I get the following errors:
ERROR: Parse error at line 1: Unknown option UpdatLogFile. ERROR: Can't parse the config file /etc/clamd.conf
I know the config file is now at /etc/clamd/amavisd.conf and NOT /etc/clamd.conf...but where do I change this so freshclam is looking at the right config file?
It also looks like there's maybe a typo in the name "UpdatLogFile" instead of "UpdateLogFile"...but anyway...that might also be something with permissions.