I’m on a shared hosting server, and have a Account-level Filtering set in the cPanel to redirect all emails that contain zip attachments to a specified email address. What I have works just fine with emails received, but if the email is a forwarded email with the zip attachment then it’s not filtered. Is there different rules for emails that are forwarded?
If for example someone receives an email with a zip attachment, and then forwards that email to me it's delivered into my regular email account, it's not filtered and redirected to the specified email account in the rules. This what I currently have under the Account-level Filtering:
Thanks!
If for example someone receives an email with a zip attachment, and then forwards that email to me it's delivered into my regular email account, it's not filtered and redirected to the specified email account in the rules. This what I currently have under the Account-level Filtering:
Code:
Any Header : matches regex
(?:file)?name=(\\\\"[^\\\\"]+\\\\.(?:zip)\\\\")
Any Header : matches regex
(?:file)?name=(\\\\S+\\\\.(?:zip))
Body : matches regex
(?:Content-(?:Type:(?>\\\\s*)[\\\\w-]+/[\\\\w-]+|Disposition:(?>\\\\s*)attachment);(?>\\\\s*)(?:file)?name=|begin(?>\\\\s+)[0-7]{3,4}(?>\\\\s+))(\\\"[^\\\"]+\\\\.(?:zip)\\\")[\\\\s;]
Body : matches regex
(?:Content-(?:Type:(?>\\\\s*)[\\\\w-]+/[\\\\w-]+|Disposition:(?>\\\\s*)attachment);(?>\\\\s*)(?:file)?name=|begin(?>\\\\s+)[0-7]{3,4}(?>\\\\s+))(\\\\S+\\\\.(?:zip))[\\\\s;]
Body : contains
.zip