
CJackson at abbott-simses
Aug 14, 2008, 1:51 PM
Views: 616
Permalink
|
|
content type matching acl
|
|
Hi, In the mime acl, there is a condition for catching emails with certain content types: match{${lc:$mime_content_type}}{\N^(?>.*)(?<=m4a|powerpoint|ppt|pps|quic ktime|msvideo|javascript|midi|zip|wma|jpg|jpeg|gif|png|wmv|mpg|mp3|mpeg| mpeg-2|avi|wav|bmp|mov|asf|asx|mpe)\N} However, an email with a gif got through that had a content type as follows: Content-Type: image/gif; name="image001.gif" Is the final quote the problem? Or is the filename located in the content type the problem? Could this be fixed by adding "? to the regex like this? match{${lc:$mime_content_type}}{\N^(?>.*)(?<=m4a|powerpoint|ppt|pps|quic ktime|msvideo|javascript|midi|zip|wma|jpg|jpeg|gif"?|png|wmv|mpg|mp3|mpe g|mpeg-2|avi|wav|bmp|mov|asf|asx|mpe)\N} Thanks, Craig -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
|