Hey Guys, Can we perhaps add an entry in /etc/conf.d/clam to start the milter with the following command /usr/local/sbin/clamav-milter -bloc /etc/clamav.conf /var/run/clmilter.sock and to delete /var/run/clmilter.sock on shutdown ? Thanks, Pieter Reproducible: Always Steps to Reproduce: 1. 2. 3.
Seconded?
Did we get a "second" on this ? Thanks, Pieter
This feature would be useful. We're deploying clamd/clamav-milter and would find this helpful.
I think that using the -b (bounce) flag may be not be advisable as I believe it can cause bounces to be sent to innocent parties when a virus forges its origin.
Created attachment 40511 [details, diff] conf.d/clamd including options for CLAMAVMILTER I've essentially done this. WARNING: this has my config stuff in it, but it should get you going. Here is a patch for /etc/conf.d/clamd
Created attachment 40512 [details, diff] init.d/clamd including start/stop for CLAMAVMILTER I've essentially done this. WARNING: this has my config stuff in it, but it should get you going. Here is a patch for /etc/init.d/clamd
Andrea, when doing this, please try to fetch socket path from original config file, instead of using /etc/conf.d/clamd, as I'd like to prevent having to match settings in two places unnecessarily. See clamd initscript, CLAMD_SOCKET.
Of course, START_MILTER (if needed) is ok for conf.d file. :)
*** Bug 48494 has been marked as a duplicate of this bug. ***
Here's an updated ebuild (don't forget the new files/): http://dev.gentoo.org/~lcars/ebuilds/clamav/ please test :)
clamav-0.85.1-r1.ebuild is in portage, please test.
clamav-0.85.1 is stable with new confd/init scripts.
Um, sorry, but the 0.85.1-r1 is the one with updated sendmail stuff. :)
0.85.1-r1 stable on x86, let's close this for good. :)