Am Di, den 22.06.2004 schrieb Gabriel Corcodel um 2:06: > Unfortunately, the search engine on the mailing list is broken... > So, can you tell me how to reject e-mails based on Character-set code? > Cause nobody in our company speaks Korean, for example:-) > > Gabriel
I do that directly with Sendmail and not using MimeDefang, with following in sendmail.mc set: LOCAL_CONFIG Kbadcharsets regex -m (text/html|text/plain)[; ]*charset="?(ks_c_5601-1987|iso-2022-kr|euc-kr|GB2312) dnl LOCAL_RULESETS HContent-Type: $>Block_charset dnl SBlock_charset R$* $: $(badcharsets $1 $: <OK> $) # Using a regex R<OK> $@ OK R$+ $#error $: 561 HTML or PLAIN charset specified not supported [be aware to use tabstops] Alexander -- Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13 Fedora GNU/Linux Core 2 (Tettnang) on Athlon CPU kernel 2.6.6-1.435 Serendipity 02:44:44 up 2 days, 8:32, load average: 1.07, 1.20, 1.00 _______________________________________________ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

