Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82222 - clamav-milter.README.gentoo.gz needs a little update in clamav 0.82
Summary: clamav-milter.README.gentoo.gz needs a little update in clamav 0.82
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Antivirus Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-16 01:46 UTC by Christian Jeannot
Modified: 2005-05-24 00:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Jeannot 2005-02-16 01:46:11 UTC
i use sendmail as mta and scan mails for viruses with clamav.today i did an update to 0.82. i have a start/stop script for clamav-milter which did not run properly after the update to 0.82. 

when i try to run clamav-milter as described in clamav-milter.README.gentoo.gz
/usr/sbin/clamav-milter -blo /var/clamav/clmilter.sock

i get
/usr/sbin/clamav-milter: --max-children must be given if --external is not given

i changed it to
/usr/sbin/clamav-milter -m 10 -o local:/var/clamav/clmilter.sock
now it runs.

i use the following start/stop script in /etc/init.d/clamav-milter:

#!/sbin/runscript

depend()
{
 need net
}

start() 
{
        ebegin "Starting clamav-milter"
        start-stop-daemon --start --quiet --exec /usr/sbin/clamav-milter \
        -p /var/clamav/clmilter.sock -- -m 10 -o local:/var/clamav/clmilter.sock
        eend $?
}

stop() 
{
        ebegin "Stopping clamav-milter"
        start-stop-daemon --stop --quiet --exec /usr/sbin/clamav-milter 
        eend $?
}

maybe this can get in this doc. 

Reproducible: Always
Steps to Reproduce:
1. install or update clamav 0.82
2. check /etc/clamd.conf for changes
3. call "/usr/sbin/clamav-milter -blo /var/clamav/clmilter.sock"

Actual Results:  
getting a error message:
/usr/sbin/clamav-milter: --max-children must be given if --external is not given

Expected Results:  
clamav-milter should run and create a socket file
Comment 1 Andrea Barisani (RETIRED) gentoo-dev 2005-05-24 00:39:56 UTC
clamav-0.85.1-r1 is in portage and an updated clamav-milter.README.gentoo is
included.