Tom D`Asto wrote:
I'm following the instructions in clamav-0.80/clamav-milter/INSTALL.

My first problem is that the following file does not exist so I can't add the variable CLAMAV_FLAGS:

Add to /etc/sysconfig/clamav-milter
          CLAMAV_FLAGS="local:/var/run/clamav/clmilter.sock"

vim /etc/sysconfig/clamav-milter
and the add the above line.

The next problem is that I don't know where the script I should have received is located...


"You should have received a script to put in /ect/init.d with this software."

look in the source files...
or try this as a bash script:
vim /etc/init.d/clsmd
[quote]
if [ "$1" = "start" ]; then {
    /bin/echo "Starting Clamd: ";
    /usr/local/sbin/clamd -c /etc/clamav.conf;
    }
elif [ "$1" = "stop" ]; then {
    /bin/echo "Stopping Clamd: "
    killall -qw /usr/local/sbin/clamd
    }
else
    echo "usage: $0 start|stop"
fi
[end quote]

Finally, how do I start clamav-milter. The documentation states the following command but again the file does not exist:

/usr/local/sbin/clamav-milter -lo /var/run/clmilter.sock

you should have configured the package properly , like:
./configure --prefix=/usr/local/sbin
so the executeable would be there...
if you didn't, i guess it would be in /usr/bin
try: find / -name clamav-milter

Sincerely,
Meni Shapiro

Thanks, Tom



------------------------------------------------------------------------

_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to