Re: [exim] ACL Explanation

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jeremy Davila
Ημερομηνία:  
Προς: John Jetmore
Υ/ο: exim-users
Αντικείμενο: Re: [exim] ACL Explanation
That helps me alot . Thanks John




John Jetmore <jj33@???>
07/08/2010 04:37 PM

To
Jeremy Davila <JDavila@???>
cc
exim-users@???
Subject
Re: [exim] ACL Explanation






On Thu, Jul 8, 2010 at 4:21 PM, Jeremy Davila <JDavila@???>
wrote:
> Hi all ,
>
> Can anybody explain the VIRUS_FILESIZE_LIMIT in the following ACL
>
>  deny  message         = This message contains a virus ($malware_name)
> and is rejected.
>        log_message     = rejected VIRUS ($malware_name) from
> $sender_address to $recipients (ClamAV)
>        set acl_m0      = clamd:/tmp/clamd.socket
>        condition       = ${if < {$message_size}{VIRUS_FILESIZE_LIMIT}}
>        demime          = *
>        malware         = *


It's a macro, defined somewhere else in your config. It light look
something like this:

VIRUS_FILESIZE_LIMIT=3000000

In the context of that ACL, it's saying only to pass the message to
the content scanners if the size of the message is less than the size
that VIRUS_FILESIZE_LIMIT has been set to.

--John