Exim not filtering certain attachments.
Hi there
I've edited the Exim Sysfilter to filter out .ace file attachments according to instructions in cPanels documentation as follows -
However, if I forward an email that has a .ace extension, in this case the document had a .doc.ace extension the mail went through and wasn't rejected. I restarted exim each time I made changes and I made sure I was using the correct filter file - cpanel_system_filter_new Does anyone know why this isn't working please? Do .doc.ace files need a separate regex and if so what would that be? I tried adding |doc.ace| too and that didn't make a difference. Thanks Nick
if $header_content-type: matches "(?:file)?name=(\"[^\">+\\\\.(?:ad[ep]|ba[st]|chm|ace|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])\")"However, if I forward an email that has a .ace extension, in this case the document had a .doc.ace extension the mail went through and wasn't rejected. I restarted exim each time I made changes and I made sure I was using the correct filter file - cpanel_system_filter_new Does anyone know why this isn't working please? Do .doc.ace files need a separate regex and if so what would that be? I tried adding |doc.ace| too and that didn't make a difference. Thanks Nick
-
Hello, Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome. Thank you. 0
Please sign in to leave a comment.
Comments
3 comments