Stopping unwanted character sets
Hugo van der Kooij
hvdkooij at vanderkooij.org
Sat Aug 4 09:10:55 IST 2007
On Fri, 3 Aug 2007, Matt Kettler wrote:
> Hugo van der Kooij wrote:
>> 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:
>> Content-Type: text/plain;
>> 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 vanderkooij.org http://hugo.vanderkooij.org/
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