Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - Stop email with windows-1251 in body html
  FAQ FAQ  Forum Search   Register Register  Login Login

Stop email with windows-1251 in body html

 Post Reply Post Reply
Author
Shade View Drop Down
Groupie
Groupie
Avatar

Joined: 20 April 2006
Location: France
Status: Offline
Points: 45
Post Options Post Options   Thanks (0) Thanks(0)   Quote Shade Quote  Post ReplyReply Direct Link To This Post Topic: Stop email with windows-1251 in body html
    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.
Back to Top
sgeorge View Drop Down
Senior Member
Senior Member


Joined: 23 August 2005
Status: Offline
Points: 178
Post Options Post Options   Thanks (0) Thanks(0)   Quote sgeorge Quote  Post ReplyReply Direct Link To This Post Posted: 19 July 2006 at 10:26am
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
Back to Top
Shade View Drop Down
Groupie
Groupie
Avatar

Joined: 20 April 2006
Location: France
Status: Offline
Points: 45
Post Options Post Options   Thanks (0) Thanks(0)   Quote Shade Quote  Post ReplyReply Direct Link To This Post Posted: 20 July 2006 at 8:07am
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">


Back to Top
sgeorge View Drop Down
Senior Member
Senior Member


Joined: 23 August 2005
Status: Offline
Points: 178
Post Options Post Options   Thanks (0) Thanks(0)   Quote sgeorge Quote  Post ReplyReply Direct Link To This Post Posted: 21 July 2006 at 1:39pm
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
Back to Top
LogSat View Drop Down
Admin Group
Admin Group
Avatar

Joined: 25 January 2005
Location: United States
Status: Offline
Points: 4104
Post Options Post Options   Thanks (0) Thanks(0)   Quote LogSat Quote  Post ReplyReply Direct Link To This Post Posted: 21 July 2006 at 4:22pm
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.
Roberto Franceschetti

LogSat Software

Spam Filter ISP
Back to Top
Shade View Drop Down
Groupie
Groupie
Avatar

Joined: 20 April 2006
Location: France
Status: Offline
Points: 45
Post Options Post Options   Thanks (0) Thanks(0)   Quote Shade Quote  Post ReplyReply Direct Link To This Post Posted: 24 July 2006 at 12:04pm
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

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.199 seconds.