clamav-users April 2009 archive
Main Archive Page > Month Archives  > clamav-users archives
clamav-users: Re: [Clamav-users] [ClamAV-users] HELP!unrecognize

Re: [Clamav-users] [ClamAV-users] HELP!unrecognized option `--pidfile=/var/run/clamav-milter/clamav-milter.pid'

From: Gomes, Rich <Rich.Gomes_at_nospam>
Date: Tue Apr 28 2009 - 14:40:06 GMT
To: "ClamAV users ML" <clamav-users@lists.clamav.net>


Thanks, this is a new install of OS and Sendmail\Clam so there is no clamav-milter file in/etc/sysconfig

One last ( I hope) thing:

All mail is refused:

Milter (clamav): error connecting to filter: Connection refused by /var/clamav/clmilter.socket Milter (clamav): to error state
Milter: initialization failed, temp failing commands

Permissions on the directory:

drwxr-xr-x 2 clamav clamav 4096 Apr 28 06:35 clamav

(These are the same as the old server, which is running without issue, albeit an older version)

What else could cause this?

Rich

-----Original Message-----
From: clamav-users-bounces@lists.clamav.net [mailto:clamav-users-bounces@lists.clamav.net] On Behalf Of James Kosin Sent: Tuesday, April 28, 2009 10:27 AM
To: ClamAV users ML
Subject: Re: [Clamav-users] [ClamAV-users] HELP!unrecognized option `--pidfile=/var/run/clamav-milter/clamav-milter.pid'

Noel Jones wrote:
> Gomes, Rich wrote:
>> Line referring to the pid has been removed from the conf file but it >> still throws the same error Root owns the files, (same as the old >> mail server)
>
> Do NOT use the --pidfile *command line* option when starting
> clamav-milter! Please read the clamav-milter man page.
>
> You may need to change your init script.
>
> -- Noel Jones
> _______________________________________________

Also, look for clamav-milter in /etc/sysconfig, if using any Fedora or RedHat release. Clamav-Milter no longer accepts command line arguments and all parameters should be passed in the NEW clamav-milter.conf file located in /etc

If you have the file 'clamav-milter' in /etc/sysconfig, either rename/remove or comment out the CLAMAV_FLAGS part of the configuration file!!! And please EDIT the new /etc/clamav-milter.conf file to properly setup clamav-milter.

James



Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml