Hi,

I use Exiscan with Exim v. 4.62. I am experiencing very strange
attachment scan. There is a test as follows in the check_mime acl:

warn    condition = ${if or \
        { { >{$message_size}{1536k}} 
        { and { \
        { >{$message_size}{128k}}
        { eq{${lookup mysql{MYSQL_BIGSENDERS}}}{$sender_address}}} 
        }}{1}{0}}
      condition = ${if
match{${lc:$mime_filename}}{\N^(?>.*)(?<=wma|jpg|jpeg|pps|ppt|gif|png|wm
v|mpg|mp3|mpeg|avi|wav|bmp|mov|asf|asx)\N}{1}{0}}
      set acl_m7 = 1

This works perfectly except for one sender whose over-sized emails never
trigger this warn. If I cut and paste the sender's email and send it
myself, it also does not trigger a warn. So I figure the sender's emails
have some kind of cruddy headers for the attachments. Here are some of
the headers:


------_=_NextPart_002_01C722DB.54957A22--

------_=_NextPart_001_01C722DB.54957A22
Content-Type: image/gif;
        name="ATT390607.gif"
Content-Transfer-Encoding: base64
Content-ID: <[EMAIL PROTECTED]>
Content-Description: ATT390607.gif
Content-Location: ATT390607.gif

PICTURE...

------_=_NextPart_001_01C722DB.54957A22
Content-Type: image/jpeg;
        name="ATT390608.jpg"
Content-Transfer-Encoding: base64
Content-ID: <[EMAIL PROTECTED]>
Content-Description: ATT390608.jpg
Content-Location: ATT390608.jpg

PICTURE...

Thanks.
Craig Jackson

-- 
## 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/

Reply via email to