Re: [exim] Exim 4 - quarantine zip files in a special accoun…

Top Page
Delete this message
Reply to this message
Author: David W Smith
Date:  
To: Tom Kistner
CC: exim-users
Subject: Re: [exim] Exim 4 - quarantine zip files in a special account
On Tue, 15 Mar 2005, Tom Kistner wrote:

> David W Smith wrote:
>
>> acl_check_mime:
>>
>>   # redirection of zip files to a special account
>>   warn message = X-Redirect-Zip-To: [relevant email address]
>>        condition = ${if match \
>>                        {${lc:$mime_filename}} \
>>                        {\N( \.zip)$\N} \
>>                      {1}{0}}

>
> Looks good, except for the whitespace in front of \.zip. Or was that
> introduced by cut and paste?


-- Err..no, that was a error on my part. I've now got emails with zip
attachments being filtered off to a special account using the above
redirection (without the extra space!) plus the additional router.

David