Re: [CentOS] 5.3 Update Problem clamav-milter

2009-04-12 Thread Anthony Kamau
 -Original Message-
 From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
 Behalf Of Leo Arnts
 Sent: Sunday, 5 April 2009 5:20 PM
 To: centos@centos.org
 Subject: [CentOS] 5.3 Update Problem clamav-milter

 After performing an update from CentOS 5.2 to 5.3 with yum update I
 have
 an error with clamav-milter
 The clamav-milter won't start.

 [r...@is3 sysconfig]# service clamav-milter restart
 Stopping Clamav Milter Daemon: [FAILED]
 Starting Clamav Milter Daemon: clamav-milter: unrecognized option
 `--local'
 ERROR: Unknown option passed
 ERROR: Can't parse command line options
[FAILED]

 The config of /etc/sysconfig/clamav-milter

 CLAMAV_FLAGS=
 --config-file=/etc/clamd.conf
 --local
 --max-children=10
 --outgoing
 --quiet
 
 SOCKET_ADDRESS=local:/var/run/clamd.socket

Had the same error on upgrade!  It appears that ClamAV people have
decided to do away with /etc/sysconfig/clamav-milter altogether.

Get rid of the file above and modify /etc/clamav-milter.conf instead and
make the necessary changes.  Most important is to comment out the
Example line near the top of that file.

Cheers,
AK.



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 5.3 Update Problem clamav-milter solved

2009-04-05 Thread Leo Arnts
Kai wrote:

Leo Arnts wrote on Sun, 5 Apr 2009 09:20:08 +0200:

 After performing an update from CentOS 5.2 to 5.3 with yum update I 
have 
 an error with clamav-milter
 The clamav-milter won't start. 

Can you please start a new thread? (You hijacked an existing thread and 

just changed the subject.)
Add the rpm -q output for clamav-milter and related programs, like 
clamav 
and sendmail to your new posting.
I doubt that you problem results from the update. clamav-milter is not 
part 
of CentOS. Your problem likely was caused by the restart and existed 
already, maybe some wrong config variable or so.

 (Starting Clamav Milter Daemon: clamav-milter: unrecognized option 
`--local'
ERROR: Unknown option passed
ERROR: Can't parse command line options) 

Kai
-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



Hi Kai,

Sorry for the wrong mail to the maillist.
I have fixed the problem. With the upgrade of centos 5.2 to 5.3 there is 
an new clamaav-milter installed wich uses an new set of configuration 
files. The old config file in /etc/sysconfig isn't deleted with the 
upgrade. After deleting the configfile there are no problems anymore.

Kind Regards,

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 5.3 Update Problem clamav-milter

2009-04-05 Thread Ben Mohilef
 Starting Clamav Milter Daemon: clamav-milter: unrecognized option 
 `--local'
 ERROR: Unknown option passed
 ERROR: Can't parse command line options
   
 [FAILED]
 
 The config of /etc/sysconfig/clamav-milter
 
 CLAMAV_FLAGS=
 --config-file=/etc/clamd.conf
 --local
 --max-children=10
 --outgoing
 --quiet
 

It sounds like you did an update to clamav-0.95.  

IF SO:
{
You must now do the configuration in /etc/clamav-milter.conf.  Leave the 
sysconfig as CLAMAV_FLAGS=  . Read the man pages for both 
clamd.conf and clamav-milter as they have both changed, although the conf 
files are pretty well documented by themselves. Make sure the sockets in 
the clamd.conf file is correctly referenced in the clamav-milter.conf file and 
the milter socket is compatible with what you put in your sendmail.mc file. 
}

[OT]:
{
The clamav folks completely rewrote the milter in 0.95 to require sendmail-
13 or higher. For anyone with an old (RHEL/Centos 3.9) distro,  clamav-
milter-0.95  does not work with sendmail-12. I built and the installed  the 
sendmail-13 rpm from the RHEL4 (Centos4 should also work) src.rpm 
before building and installing the clamav-0.95 rpm on one old machine. It is 
now receiving and filtering mail happily (allthough oblivious to its scheduled 
July date with the hardware recycler). Clamdtop even works with Centos 3.9.

Someone may want to put sendmail-13 in the Centos 3.9 centosplus 
directory. A clamav-0.95-for-sendmail-13 could also be put in the rpmforge 
updates for EL3, although there are probably few customers for that item.  
}


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos