MIME headers |
Post Reply |
Author | |
yapadu
Senior Member Joined: 12 May 2005 Status: Offline Points: 297 |
Post Options
Thanks(0)
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. |
|
yapadu
Senior Member Joined: 12 May 2005 Status: Offline Points: 297 |
Post Options
Thanks(0)
|
Actually koi8-r is Russian Cyrillic, not Korean... oops. I can't read either, which is why I want to block them
|
|
--------------------------------------------------------------
I am a user of SF, not an employee. Use any advice offered at your own risk. |
|
LogSat
Admin Group Joined: 25 January 2005 Location: United States Status: Offline Points: 4104 |
Post Options
Thanks(0)
|
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)
|
|
yapadu
Senior Member Joined: 12 May 2005 Status: Offline Points: 297 |
Post Options
Thanks(0)
|
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. |
|
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.141 seconds.