[Mimedefang] Limiting email size to scan for viruses?

Kevin A. McGrail kmcgrail at pccc.com
Wed Oct 13 17:37:52 EDT 2004


Untested but you should be able to change filter_begin to something like

if (-s "./INPUTMSG" < 2048*1024) {
    # Scan for viruses if any virus-scanners are installed
    my($code, $category, $action) = message_contains_virus();
}

Regards,
KAM
----- Original Message ----- 
From: "Fernando Gleiser" <fgleiser at cactus.fi.uba.ar>
To: <mimedefang at lists.roaringpenguin.com>
Sent: Wednesday, October 13, 2004 4:17 PM
Subject: [Mimedefang] Limiting email size to scan for viruses?


> Is there a way to scan for viruses only messages smaller than 2MB?




More information about the MIMEDefang mailing list