Stopping unwanted character sets

Hugo van der Kooij hvdkooij at
Sat Aug 4 09:10:55 IST 2007

On Fri, 3 Aug 2007, Matt Kettler wrote:

> Hugo van der Kooij wrote:
>> Hi,
>> There was some discussion a while ago about stopping messages based on
>> country of orrigin.
>> But I see more use in stopping unwanted charactersets.
>> For example:
>> ------=_NextPart_000_0000_7D761D51.CFA8A7DF
>> Content-Type: text/plain;
>>     charset="windows-1251"
>> Content-Transfer-Encoding: quoted-printable
>> I have no need for messages in this character set nor anyone else.
>> Is there a way to filter on these?
> If you've got the mimeheader plugin loaded (defaults to being loaded in 3.1.0
> and higher) you can use a mimeheader rule
> something like this should work:
> mimehader MIME_WIN_1251	Content-Type =~/windows-1251/i

It seems it is accepting this fine. Now let us see if there will be hits.

And I needed to clean up a bit I noticed. I understood it is not 
recommended to put your own ruleset in a private file.

So they now live in spam.hvdkooij.rules.conf


 	hvdkooij at
 	    This message is using 100% recycled electrons.

 	Some men see computers as they are and say "Windows"
 	I use computers with Linux and say "Why Windows?"
 		(Thanks JFK, for the insight.)

More information about the MailScanner mailing list