Hi together,
i see that much mails comes in with an encoded UTF-8 Header like this:
If i decode this mime header (https://dogmamix.com/MimeHeadersDecoder/) the subject will result in "Effektive Behandlung von Hämorrhoiden in jedem Stadium".
What i have to do to block this subject?
I have tried the following strings ins the policies:
I don't found how I can block these subject with a rule.
Can you help me / explain to me how the subject will be compared / decoded before compare?
i see that much mails comes in with an encoded UTF-8 Header like this:
Code:
Proxmox Admin Notification:
Sender: ehmefzb@jobinscenter.mom
Receiver: mail@domain.tld
Targets: mail@domain.tld
Subject: =?utf-8?B?RWZmZWt0aXZlIEJlaGFuZGx1bmcgdm9uIEjDpG1vcnJob2lkZW4gaW4gamVkZW0gU3RhZGl1bQ==?=
Matching Rule: Monitor - Spam Level 1
.....
If i decode this mime header (https://dogmamix.com/MimeHeadersDecoder/) the subject will result in "Effektive Behandlung von Hämorrhoiden in jedem Stadium".
What i have to do to block this subject?
I have tried the following strings ins the policies:
Code:
=?utf-8?B?RWZmZWt0aXZlIEJlaGFuZGx1bmcgdm9uIEjDpG1vcnJob2lkZW4gaW4gamVkZW0gU3RhZGl1bQ==?=
=\?utf-8\?B\?RWZmZWt0aXZlIEJlaGFuZGx1bmcgdm9uIEjDpG1vcnJob2lkZW4gaW4gamVkZW0gU3RhZGl1bQ==\?=
--> regex escaping is correct: https://regex101.com/r/2nqUEY/1
Effektive Behandlung von Hämorrhoiden in jedem Stadium
I don't found how I can block these subject with a rule.
Can you help me / explain to me how the subject will be compared / decoded before compare?