Description of problem: clamav-milter requires a fair amount of setup to get the associated clamd working (namely learning about clamd-wrapper). But, it seems like default files could be easily provided (in addition to /etc/clamd.d/milter.conf). Or perhaps in a clamav-server-milter package. E.g.: /etc/rc.d/init.d/clamd.milter: #!/bin/bash # # chkconfig: - 75 25 # description: The clamd server running for milter CLAMD_SERVICE=milter . /usr/share/clamav/clamd-wrapper (this could be enabled with chkconfig --add clamd.milter) /etc/sysconfig/clamd.milter: CLAMD_CONFIGFILE=/etc/clamd.d/milter.conf CLAMD_SOCKET=/var/run/clamd.milter/clamd.sock CLAMD_OPTIONS= /etc/logrotate.d/clamd.milter: /var/log/clamd.milter { monthly notifempty missingok postrotate killall -HUP clamd.milter 2>/dev/null || : endscript } And the /var/run/clamd.milter directory: drwxr-xr-x 2 clamilt clamilt 4096 Jun 28 12:04 /var/run/clamd.milter Version-Release number of selected component (if applicable): clamav-milter-0.86.1-2.fc3
clamav-milter does not need a separate 'clamd' daemon; since version 0.81 the internal mode is the default one. 'clamav-milter' itself should work out-of-the-box (after commenting out the 'Example' line in /etc/clamd.d/milter.conf); for testing the '-blo' option might be added in /etc/sysconfig/clamav-milter, but upstream does not seem to like these options by default.