Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - MIME headers
  FAQ FAQ  Forum Search   Register Register  Login Login

MIME headers

 Post Reply Post Reply
Author
yapadu View Drop Down
Senior Member
Senior Member


Joined: 12 May 2005
Status: Offline
Points: 297
Post Options Post Options   Thanks (0) Thanks(0)   Quote yapadu Quote  Post ReplyReply Direct Link To This Post Topic: MIME headers
    Posted: 17 August 2010 at 10:11pm
Way back in 4.1.2.818 the following was added:

// New to VersionNumber = '4.1.2.818';
{TODO -cNew The keyword searches are now performed also against all MIME headers, allowing to search for example the Content-Type, charset, Content-Transfer-Encoding, Content-Disposition and filename}


Are keywords automatically scanned in all MIME headers or do we target them like a subject search?

I want to build something to block specific charset matches.  For example if I want to block Korean, I could look for charset="koi8-r" or would I need something like:

content-type:charset="koi8-r"
--------------------------------------------------------------
I am a user of SF, not an employee. Use any advice offered at your own risk.
Back to Top
yapadu View Drop Down
Senior Member
Senior Member


Joined: 12 May 2005
Status: Offline
Points: 297
Post Options Post Options   Thanks (0) Thanks(0)   Quote yapadu Quote  Post ReplyReply Direct Link To This Post Posted: 17 August 2010 at 10:19pm
Actually koi8-r is Russian Cyrillic, not Korean... oops.  I can't read either, which is why I want to block them Wink
--------------------------------------------------------------
I am a user of SF, not an employee. Use any advice offered at your own risk.
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: 18 August 2010 at 9:05pm
There's nothing special you need to do, SpamFilter will look thru that content as if it was part of the email's body. Do note however that in your example, some emails won't have that exact syntax. For example, in addition to:

ontent-type:charset="koi8-r"

they could have:
Content-Type: text/html; charset=koi8-r

(no quotes around koi8-r, "charset" keyword placed by itself)
Roberto Franceschetti

LogSat Software

Spam Filter ISP
Back to Top
yapadu View Drop Down
Senior Member
Senior Member


Joined: 12 May 2005
Status: Offline
Points: 297
Post Options Post Options   Thanks (0) Thanks(0)   Quote yapadu Quote  Post ReplyReply Direct Link To This Post Posted: 19 August 2010 at 10:36am
Ok, understood.  The headers are simply treated as part of the body, and no special syntax is required like subjects.

I suspect that if Russians wanted they could also send their messages using UTF-8, so it is not possible to stop 100% of Russian based spam but it should certainly stop some.
--------------------------------------------------------------
I am a user of SF, not an employee. Use any advice offered at your own risk.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.141 seconds.