Skip to main content

Global email filter not working with Base64 encoded email

Comments

8 comments

  • keat63
    I looked at your rule and the first thing that caught my eye was your regex entry. I've no experience with regex rules so I wouldn't know where to start. Did you try the rule without the regex part.
    0
  • ddaddy
    Yes, it didn't work without the regex which is why I tried it with.
    0
  • keat63
    I would be interested to learn the outcome of this if you find an answer, as I've no doubt it could help others.
    0
  • cPanelMichael
    Hello, The following response was included in a recent support ticket: [QUOTE]It seems that our "Global Email Filters" does not work with base64 encoded body messages, so you would want to either pipe the message through a program to decode it (not something we would be able to help with), or enable the Apache SpamAssassin service and filter spam with that method
    Additionally, you can find some discussion of a similar topic on the following links: Thank you.
    0
  • ddaddy
    Hi, I did read that previous discussion, however I think that was about searching for encoded text within the Base64. As in, the filter decoding the Base64 then looking for the text. This is different. I have a Base64 pattern IHJpZ2h0IG5v
    that appears in the email body that I want to match. No decoding is needed at all. Just match the text. But it fails to see it.
    0
  • cPanelMichael
    Hi, I did read that previous discussion, however I think that was about searching for encoded text within the Base64. As in, the filter decoding the Base64 then looking for the text. This is different. I have a Base64 pattern IHJpZ2h0IG5v
    that appears in the email body that I want to match. No decoding is needed at all. Just match the text. But it fails to see it.

    Can you submit a
    0
  • ddaddy
    Support ticket submitted 13360843
    0
  • cPanelMichael
    Support ticket submitted 13360843

    Here's a summary of the response sent by one of our Technical Analysts: [QUOTE] The content type shows that the data associated with the referenced email is base64. This means that it is binary data. This can decode to text or HTML, however it could also decode to a image, or zip file, etc. This is why exim skips this portion, it is not "text" even though it is transmitted this way. We suggest using SpamAssassin to filter messages as it generally does a good job in using various methods and tests to determine if a message is spam or not. Please note that our ability to assist with custom mail filter rules is very limited. Currently it appears to be working as expected.
    Thank you.
    0

Please sign in to leave a comment.