[cvs] bogofilter/doc bogofilter-faq.html,1.21,1.22
Fast Bayesian spam filter along lines suggested by Paul Graham
Brought to you by:
m-a
From: <re...@us...> - 2003-03-31 22:52:26
|
Update of /cvsroot/bogofilter/bogofilter/doc In directory sc8-pr-cvs1:/tmp/cvs-serv22992 Modified Files: bogofilter-faq.html Log Message: Use macro to define charset list. Thanks to Andrey Chernov for making this work. Index: bogofilter-faq.html =================================================================== RCS file: /cvsroot/bogofilter/bogofilter/doc/bogofilter-faq.html,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- bogofilter-faq.html 31 Mar 2003 13:46:10 -0000 1.21 +++ bogofilter-faq.html 31 Mar 2003 22:52:18 -0000 1.22 @@ -246,9 +246,15 @@ <p>Here's a procmail recipe that will sideline messages written with asian charsets:</p> <pre> ## Silently drop all asian language mail +UNREADABLE="big5|iso-2022-|euc-|gb2312|ks_c_5601-1987" :0: -* 1^0 ^\/Subject:.*=\?(.*big5|iso-2022-jp|ISO-2022-KR|euc-kr|gb2312|ks_c_5601-1987|windows-1251|windows-1256)\? -* 1^0 ^\/Content-Type:.*charset="(.*big5|iso-2022-jp|ISO-2022-KR|euc-kr|gb2312|ks_c_5601-1987|windows-1251|windows-1256)" +* 1^0 $ ^Subject:.*=\?($UNREADABLE) +* 1^0 $ ^Content-Type:.*charset=.*($UNREADABLE) +spam-unreadable + +:0: +* ^Content-Type:.*multipart +* B ?? $ ^Content-Type:.*^?.*charset=.*($UNREADABLE) spam-unreadable </pre> <p>With the above recipe, bogofilter will <em>never</em> see the message.</p> |