[CentOS] 5.3 Update Problem clamav-milter

Sun Apr 12 07:15:10 UTC 2009
Anthony Kamau <akcentos at anroet.com>

> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
> Behalf Of Leo Arnts
> Sent: Sunday, 5 April 2009 5:20 PM
> To: centos at 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.
>
> [root at 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.