Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users
content type matching acl
 

Index | Next | Previous | View Flat


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/

Subject User Time
content type matching acl CJackson at abbott-simses Aug 14, 2008, 1:51 PM
    Re: content type matching acl exim-users at spodhuis Aug 14, 2008, 2:35 PM
        Re: content type matching acl CJackson at abbott-simses Aug 25, 2008, 8:48 AM
    Re: content type matching acl exim-users at spodhuis Aug 25, 2008, 11:00 AM
        Re: content type matching acl CJackson at abbott-simses Aug 25, 2008, 2:04 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.