[exim] Check mime_content_type with regex

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Craig Jackson
Ημερομηνία:  
Προς: Exim-users
Αντικείμενο: [exim] Check mime_content_type with regex
This exim 4.62 mime_content_check doesn't match the header below it

${if or { \
{
match{${lc:$mime_filename}}{\N^(?>.*)(?<=wma|jpg|jpeg|pps|ppt|gif|png|wm
v|mpg|mp3|mpeg|avi|wav|bmp|mov|asf|asx)\N}} \
{
match{$mime_content_type}{\N^(?>.*)(?<=wma|jpg|jpeg|pps|ppt|gif|png|wmv|
mpg|mp3|mpeg|avi|wav|bmp|mov|asf|asx)\N}} \
}{1}{0}}

--=_alternative 0050ED478625724A_=--
--=_related 0050ED478625724A_=
Content-Type: image/jpeg
Content-ID: <_2_06C4E54806C4E18C0050ED478625724A>
Content-Transfer-Encoding: base64

Can someone give me a hint?
Thanks.
Craig