You can't test for malware in the RCPT ACL, there is no message body. Put in the DATA acl ;)
On Fri, 15 Dec 2006, jean-paul natola wrote: > Date: Fri, 15 Dec 2006 18:29:41 -0500 > From: jean-paul natola <[EMAIL PROTECTED]> > To: [email protected] > Subject: Re: [exim] ACL to NOT call a process > > > > > > > > > I'm struggling here with the ACL's , > > > I want an ACL that will prevent clamav from being called on mesages > >over > > > 1meg > > > > > > >There are a bizillion examples in the exim-users archive[1]. > > > >deny condition = ${if <{$message_size}{1M}} > > malware = * > > message = This message contains a virus ($malware_name). > > I dont know if I stuck the ACL in the wrong place - or If i didnt explain > what I was trying to achieve correctly- > > I think I didnt explain it well - i DO want to accept messages under 1 meg > ,I just do NOT want exim to call CLAM when it is over 1 meg- > > 2006-12-15 18:21:17 H=bay0-omc2-s37.bay0.hotmail.com [65.54.246.173] > F=<[EMAIL PROTECTED]> temporarily rejected RCPT <[EMAIL PROTECTED]>: > cannot test malware condition in RCPT ACL > > _________________________________________________________________ > All-in-one security and maintenance for your PC. Get a free 90-day trial! > http://clk.atdmt.com/MSN/go/msnnkwlo0050000002msn/direct/01/?href=http://clk.atdmt.com/MSN/go/msnnkwlo0050000001msn/direct/01/?href=http://www.windowsonecare.com/?sc_cid=msn_hotmail > > > -- -------------------------------------------------------- Dave Lugo [EMAIL PROTECTED] LC Unit #260 TINLC Have you hugged your firewall today? No spam, thanks. -------------------------------------------------------- Are you the police? . . . . No ma'am, we're sysadmins. -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
