Answer the question
In order to leave comments, you need to log in
How to filter letters encoded in HZ what?
Greetings
The site has mail, it receives the same type of letters, encoded HZ as. I opened the letter many times, highlighted the text for filtering on it, but despite this, the letters bypassed the spam filter. I wrote to the hosting provider, they say, this way and that, letters are not filtered. They said:
An error occurred in the operation of the filters, because in the source email, the text is encoded in base64, while Exim's filtering works on the source email and cannot work on the encoded text.
If you send a letter in which the text will not be encoded, the filters are successfully applied or if you add an already encoded word or phrase that is found in the letter to the filter, the filter also works.
Answer the question
In order to leave comments, you need to log in
This is not "HZ what", but the quoted-printable encoding. https://en.wikipedia.org/wiki/Quoted-printable
Further, options are possible (because, as is traditional on the Toaster, you provided only a piece of information that you considered important, and not the code of the entire source code of the letter, for example):
- either your mailer does not understand this encoding (unlikely), but the filtering system does,
- either the letters are formed with errors (for example, they contain the wrong encoding in the header, because the mailer will not decode them,
- or you are doing something wrong (which - hard to guess).
However, this is not very important, because it is impossible to filter messages only by encoding (useful letters can also be sent to QP), it is also unlikely that they can be filtered by text, because spam can be different.
Translate the text you want to filter into windows-1251 encoding and encode it in quoted-printable - your filter will work on the received string. The easiest way is to simply copy the corresponding already encoded string from the source of the letter.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question