The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers > Answers to Frequently Asked Questions > Email Antispam Techniques and Email Filtering
Google UNIX.COM


Email Antispam Techniques and Email Filtering Techniques Q&A and Procmail recipes for fighting spam.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Stopping a shell script jadionne UNIX for Dummies Questions & Answers 15 01-02-2008 04:12 AM
Stopping A process gopsman Shell Programming and Scripting 4 12-05-2007 05:37 AM
Stopping a command in between superprg Shell Programming and Scripting 3 01-11-2007 04:29 PM
stopping a processor nm_virtual UNIX for Advanced & Expert Users 2 10-03-2006 07:15 AM
stopping a script AtomJ22 Shell Programming and Scripting 2 04-13-2006 05:41 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-15-2003
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,063
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Stopping Language Character Set Spam

I have noticed a significate decrease in spam by prodmail filtering on the language character sets that I don't read.

Nothing against our fine friends in Japan, China, Korea and all over the world who use different languages, but I now find that over 50% of my mountains of spam daily is unreadable language sets.

Here is my current set of procmail recipes for this problem that is working well based on language sets I cannot and do not read. If you can read these and need them, it is easy to remove them from the recipe:

Code:
# PARTIAL LIST OF CHARSET SPAM
#big5   - chinese
#gb2312 - chinese
#koi8-r     - cyrillic
#iso-8859-2 - Latin-2 für Eastern Europe
#iso-ir-111 - cyrillic (ECMA)
#iso-8859-5 - cyrillic
#euc-kr         - korean
#ks_c_5601-1987 - korean
#iso-2022-kr    - korean
#euc-jp         - japanese
#iso-2022-jp    - japanese

:0:
* charset.*ks_c_5601|euc-kr|3Deuc-kr|euc-kr|big5|gb2312|utf-8|koi8|iso-ir-111
charset_spam

:0:
* charset.*iso-8859-[2-8]|euc-jp|iso-2022|windows-125
charset_spam


:0:
* charset.*shift_jis|x-johab|x-unified-hangul
charset_spam


:0:
* charset.*cn-gb|cn-big5|utf-8|x-euc-tw|iso_2022_cn
charset_spam

:0:
* ^Subject:*ks_c_5601-1987|euc-kr|3Deuc-kr|euc-kr|big5|gb2312|utf-8
charset_spam
I recreated the simple filters above by looking at lots of spam and also visiting sites that list charsets:

http://www.terena.nl/library/multili...ncharsets.html

http://java.sun.com/j2se/1.4.1/docs/...oding.doc.html

http://msdn.microsoft.com/workshop/d...ce/charset.asp

Anyone have any ideas or suggestions for improving these recipes? They are working OK and I'm refining them daily..... Neo
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 02-16-2003
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,063
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Latest Set.....

Lastest set of these,, working great....

Code:
:0
* charset.*ks_c_5601|euc-kr|3Deuc-kr|euc-kr|big5|gb2312|koi8|iso-ir-111
charset_spam

:0
* charset.*iso-8859-[2-8]|euc-jp|iso-2022|windows-125
charset_spam


:0
* charset.*shift_jis|x-johab|x-unified-hangul|3Dgb2312
charset_spam


:0
* charset.*cn-gb|cn-big5|utf-8|x-euc-tw|iso_2022_cn
chinese_charset_spam

:0
* ^Subject:*ks_c_5601-1987|euc-kr|3Deuc-kr|euc-kr|big5|gb2312|utf-8
charset_spam
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes


The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
"inappropriate ioctl for device" 421 service not available, remote server has closed connection ^m automate ftp autosys awk trim bash eval bash for loop boot: cannot open kernel/sparcv9/unix command copy/move folder in unix curses.h cut command in unix find grep find mtime find null character in a unix file grep multiple lines grep or grep recursive gzip password hp-ux ifconfig inaddr_any inappropriate ioctl for device lynx javascript mailx attachment mget mtime perl array length ping port remove first character from string in k shell replace space by comma , perl script scp recursive segmentation fault(coredump) sftp script snoop unix stale nfs file handle syn_sent tar exclude tar extract to folder test: argument expected unix unix .profile unix forum unix forums unix internals unix interview questions unix mtime unix simulator unix.com vi substitute while loop within while loop shell script


All times are GMT -7. The time now is 02:26 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101