[Reference:<_A2401@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en
[DeleGate-En] Re: POP and Anti Virus
In message <_A2401@delegate-en.ML_> on 09/11/03(18:25:38)
you Michel MEUNIER <pmeeqbdyi-qjkxlpjakja6.ml@delegate.org> wrote:
|I'm looking for a way to submit every POP traffic to an Anti Virus
|software (ClamAV on a Linux box). Not having found an answer on the
|list, I ask my question :
|
|Is it possible to do that using DeleGate with Filter Control feature ?
|If yes, how ?
It could be like follows:
[command line options of DeleGate]
SERVER=pop -P8110 FTOCL=clamav.cfi
[the content of DGROOT/lib/clamav.cfi]
#!cfi
Filter:clamav.sh
[the content of DGROOT/lib/clamav.sh]
#!/bin/sh
cat > /tmp/dg$$
if [ clamav /tmp/dg$$ ]
then
cat /tmp/dg$$
else
echo "Removed Infected Message"
fi
rm /tmp/dg$$
Cheers,
Yutaka
--
@ @ Yutaka Sato <y.sato@delegate.org> http://www.delegate.org/y.sato/
( - ) National Institute of Advanced Industrial Science and Technology (AIST)
_< >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller
|