Bug#526173: clamav-milter: initscript fails to start, options are deprecated

2009-05-21 Thread martin f krafft
also sprach Micah Anderson mi...@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:

  -lLocalNet  (I just left it disabled)
  -o?
  -q?
  --norejectOnInfected (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 madd...@d.o  Related projects:
: :'  :  proud Debian developer   http://debiansystem.info
`. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)


Bug#526173: clamav-milter: initscript fails to start, options are deprecated

2009-04-29 Thread Micah Anderson
Package: clamav-milter
Version: 0.95.1+dfsg-0volatile2
Severity: grave
Justification: renders package unusable

New rewrite of clamav-milter fails to hurl, instead of starting, dry heaves.

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.

Second, initscript uses command-line options, so milter will not start
without editing initscript to deal with --pidfile $PIDFILE $SOCKET in
two locations.

micah

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-vserver-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org