[Pkg-clamav-devel] Bug#526173: clamav-milter: initscript fails to start, options are deprecated

martin f krafft madduck at debian.org
Thu May 21 09:13:09 UTC 2009


also sprach Micah Anderson <micah at debian.org> [2009.04.29.2005 +0200]:
> First all previous command-line options seem to have mysteriously
> disappeared and no documentation about where they went, or what they
> should be replaced by in the config file. Pretty much any command-line
> option causes milter to not start.

I used to have

  --max-children=10 -olq --dont-wait --noreject

The options map to the following directives in
/etc/clamav/clamav-milter.conf:

  -l                LocalNet  (I just left it disabled)
  -o                ?
  -q                ?
  --noreject        OnInfected (Blackhole|Accept|Quarantine)
  --dont-wait       ?
  --max-children    ?

I think -o and -q are not needed with the new On* directives.
--dont-wait and --max-children, well, I don't know about those. It
might be that it uses clamd's MaxThreads, but we'll see.

A few other notes to make it work:

1. disable $OPTIONS and $SOCKET in /etc/default/clamav-milter.
   Configure the socket with the MilterSocket config directive.

2. Leave $USE_POSTFIX if you need it.

When clamav-milter starts, it'll warn:

  Starting Sendmail milter plugin for ClamAV: clamav-milterWARNING: Ignoring option local:/var/spool/postfix/clamav/clamav-milter.ctl

but this can be ignored. Only a rewrite of the init.d script will
be able to properly fix that.

-- 
 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.alioth.debian.org/pipermail/pkg-clamav-devel/attachments/20090521/f9f1936d/attachment-0001.pgp>


More information about the Pkg-clamav-devel mailing list