[Mimedefang] A tip with AVP (kavdaemon)

scuba at centroin.com.br scuba at centroin.com.br
Wed Oct 2 17:44:00 EDT 2002


Hi,

	When using MD with AVP daemon, add the option '-dl' to the command
line to avoid keeping many logger process running.
	Each time the daemon is called, it launches the logger also. When
the daemon finishes its job, the logger keeps running forever. So you will
be out of memory.
	Just change the line (MD 2.21):

            run_virus_scanner($Features{'Virus:AVP'} . " $cwd -o{$path} \
-Y -O- -K -I0 -WU=$cwd/DAEMON .RPT 2>&1", "infected");

	To:

            run_virus_scanner($Features{'Virus:AVP'} . " $cwd -o{$path} \
-dl -Y -O- -K -I0 -WU=$cwd/DAEMON .RPT 2>&1", "infected");

	In both, entity_contains_virus_avp and message_contains_virus_avp
routines.

- Marcelo






More information about the MIMEDefang mailing list