Attachment filename filtering
Hi!
My main question:
I would like to filter based on an exact attachment name (Form.zip). So no mails can get through that have exactly a "Form.zip" file attached.
How is that possible? Every solution is OK, even spamassassin to give a high score for it... This can be used site-wide also, doesn't have to apply to an account.
Another question, but this might be a hard one:
We are getting lot of impersonating mails (with almost valid signatures, maybe some external address was hacked who received mail from that somebody) where only the "Full Name" from the From header is spoofed (because of strict SPF) and the e-mail address is a spam address, but for some reason, spamassassin and RBL lists don't have a chance (SPF is valid, hardly any rules apply to get extra points...). If I would be able to create a rule for instance if the mail has "one of the Full Names from a txt" in the From header and not a valid local e-mail address -> make it spam, then it would be easy to catch these spoofers.
Thank you,
Daniel
-
My main question: I would like to filter based on an exact attachment name (Form.zip). So no mails can get through that have exactly a "Form.zip" file attached. How is that possible? Every solution is OK, even spamassassin to give a high score for it... This can be used site-wide also, doesn't have to apply to an account.
I only had this bookmarked before for myself but you can read this and see if that helps0 -
For the global filter issue, you might want to check this out: How to Customize the Exim System Filter File | cPanel & WHM Documentation Would one of those filter types also work for your second issue? 0
Please sign in to leave a comment.
Comments
5 comments