Re: [exim] ACL Explanation

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: John Jetmore
Ημερομηνία:  
Προς: Jeremy Davila
Υ/ο: exim-users
Αντικείμενο: 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