[Pkg-exim4-users] Easiest way to install antivirus and antispam on Exim 4.5 and debian

Andreas Barth aba@not.so.argh.org
Fri, 10 Jun 2005 20:44:55 +0200


* Jose de Jesus Gutierrez Ramirez (jgtez@previtep.com.mx) [050610 20:20]:
> I've just installed Exim 4.5 on debian, I'd like to know what it's the
> easiest way to install antivirus and antispam, and which packages are the
> most used.

exim4-daemon-heavy includes the exiscan extensions for filtering.

I use something like
   deny message   = This message contains malformed MIME ($demime_reason)
        demime    = *
        condition = ${if >{$demime_errorlevel}{2}{1}{0}}

   deny message   = This message contains an attachment of a type we don't accept (.$found_extension)
        demime    = bat:com:pif:prf:scr:vbs

.ifdef MALWARE_SCANNING
   deny message   = This message contains a virus or other harmful content ($malware_name)
        demime    = *
        malware   = *
.endif

in my acl_check_data (together with an installed clamav and
av_scanner = clamd:/var/run/clamav/clamd.ctl
MALWARE_SCANNING =
in the main sections, and it works well. Spamassassin can be integrated
similar.


Cheers,
Andi