[exim] system-filter and outlook

Góra strony
Delete this message
Reply to this message
Autor: Aram Galestian
Data:  
Dla: exim-users
Temat: [exim] system-filter and outlook
Hello..
My System Filter stop pdf files.. but as i can see out look send filename=
OB_....@mydomain.Xcom
and my system filter belive that is a .com file.. is any recommendation
how to advice outlook user send me a pdf file ?
or do i need to change my systemfilter. ? Alla com have been changed to
Xcom in these mail.

""filename="OB_10869_;jhon.bull@???;_1074406_1_3_02112005152612.pdf""


MIME-Version: 1.0
X-Mailer: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Content-Type: application/pdf;

name=""OB_10869_;jhon.bull@???;_1074406_1_3_02112005152612.pdf""
Content-Transfer-Encoding: base64
Content-Disposition: attachment;

filename="OB_10869_;jhon.bull@???;_1074406_1_3_02112005152612.pdf"



Here is my system-filter..


# same again using unquoted filename [body_unquoted_fn_match]
if $message_body matches
"(?:Content-(?:Type:(?>\\\\s*)[\\\\w-]+/[\\\\w-]+|Disposition:(?>\\\\s*)attachment);(?>\\\\s*)(?:file)?name
=|begin(?>\\\\s+)[0-7]{3,4}(?>\\\\s+))(\\\\S+\\\\.(?:ad[ep]|ba[st]|chm|cmd|com|cpl|crt|eml|exe|hlp|hta|in[fs]|isp|jse?|lnk|md[be]|ms
[cipt]|pcd|pif|reg|scr|sct|shs|url|vb[se]|ws[fhc]))[\\\\s;]"

# Quoted filename - [body_quoted_fn_match]
if $message_body matches
"(?:Content-(?:Type:(?>\\\\s*)[\\\\w-]+/[\\\\w-]+|Disposition:(?>\\\\s*)attachment);(?>\\\\s*)(?:file)?name
=|begin(?>\\\\s+)[0-7]{3,4}(?>\\\\s+))(\"[^\"]+\\\\.(?:ad[ep]|ba[st]|chm|cmd|com|cpl|crt|eml|exe|hlp|hta|in[fs]|isp|jse?|lnk|md[be]|
ms[cipt]|pcd|pif|reg|scr|sct|shs|url|vb[se]|ws[fhc])\")[\\\\s;]"

# same again using unquoted filename [content_type_unquoted_fn_match]
if $header_content-type: matches
"(?:file)?name=(\\\\S+\\\\.(?:ad[ep]|ba[st]|chm|cmd|com|cpl|crt|eml|exe|hlp|hta|in[fs]|isp|jse?|lnk
|md[be]|ms[cipt]|pcd|pif|reg|scr|sct|shs|url|vb[se]|ws[fhc]))"

# Check Content-Type header using quoted filename
[content_type_quoted_fn_match]
if $header_content-type: matches
"(?:file)?name=(\"[^\"]+\\\\.(?:ad[ep]|ba[st]|chm|cmd|com|cpl|crt|eml|exe|hlp|hta|in[fs]|isp|jse?|l
nk|md[be]|ms[cipt]|pcd|pif|reg|scr|sct|shs|url|vb[se]|ws[fhc])\")"