On 03-Dec-2002/11:02 -0500, RA <[EMAIL PROTECTED]> wrote:
>Is it possible to design a filter that can reside in my mailbox in the
>mail server that can delete any mail that comes with the subject
>containing any of these special characters?  ([±¤°í]³¶¸¸ÀûÀÎ Å©¸®½º¸¶½º¸¦
>À§ÇÑ Æ¯º°ÇÑ È£ÅÚ) Most of them are coming from Korea, Taiwan and China
>and a few from Russia.  I am not expecting any mail that is not in
>English or a European language.

Look for unwanted character sets in the Content-Type header. Here is a
procmail filter that should do the trick:

# Delete messages that have unwanted character sets.
:0
* ^Content-Type:.*charset=.*(gb2312|ks_c_5601-1987|EUC-KR)
/dev/null


Tony
-- 
Anthony E. Greene <mailto:[EMAIL PROTECTED]>
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AOL/Yahoo Chat: TonyG05      HomePage: <http://www.pobox.com/~agreene/>
Linux: the choice of a GNU Generation. <http://www.linux.org/>



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to