Stop email with windows-1251 in body html |
Post Reply |
Author | |
Shade
Groupie Joined: 20 April 2006 Location: France Status: Offline Points: 45 |
Post Options
Thanks(0)
Posted: 19 July 2006 at 3:24am |
Hi all,
I try to stop email with keyword filter, all email with "charset=windows-1251" in body html code, but It doesn't work. Is there a way with regex ? If I add "windows-1251" in keyword list, it doesn't work, If I add "(windows\-1251)" same problem... Thank you for reply. |
|
sgeorge
Senior Member Joined: 23 August 2005 Status: Offline Points: 178 |
Post Options
Thanks(0)
|
Hi there,
I believe you are trying to scan for the presence of a MIME header that separates the text regions of a message. e.g. Content-Type: text/plain; charset=windows-1251 I've tried (and failed) to do the same thing (using unregistered v2.7.1.532). However, Desperado noticed that the messages that I was trying to block also included =?windows-1251 in the subject line, and I was able to successfully block the messages based on that (you may want to check out the previous hyperlink). Also note that Roberto had mentioned in that thread that LogSat had planned to enable blocking of certain charsets in SpamFilter. I do not have the registered version of SpamFilter, so it may be that this feature is already supported in the current registered release. Stephen Edited by sgeorge |
|
Shade
Groupie Joined: 20 April 2006 Location: France Status: Offline Points: 45 |
Post Options
Thanks(0)
|
Hi again,
No, it's not in email headers, but in the body text html code : <META http-equiv=Content-Type content="text/html; charset=windows-1251"> |
|
sgeorge
Senior Member Joined: 23 August 2005 Status: Offline Points: 178 |
Post Options
Thanks(0)
|
Hmph, that is odd. Have you checked your activity log just in case the message was whitelisted for some reason? I wouldn't be able to explain how that would pass through otherwise.
Stephen |
|
LogSat
Admin Group Joined: 25 January 2005 Location: United States Status: Offline Points: 4104 |
Post Options
Thanks(0)
|
Shade,
Is that text in the actual email's original source, or when you do a "view source" from within Microsoft Outlook? Please note that Outlook will ocmpletely reformat an email source, so what it shows is very much different than the real email's content, and keyword searfches on it will fail. |
|
Shade
Groupie Joined: 20 April 2006 Location: France Status: Offline Points: 45 |
Post Options
Thanks(0)
|
Confirmation, datas :
<META http-equiv=Content-Type content="text/html; charset=windows-1251"> are exactly what I receive in html body source code (dumped from postfix file)
Regards |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0.199 seconds.