[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: english text only?
From: |
Kenneth Loafman |
Subject: |
Re: english text only? |
Date: |
Tue, 19 Mar 2002 19:10:21 +0000 |
Previous posts indicate that the list owner, gnu.org. does not believe
in filtering. Not sure what their stand on open relays is, but they
will not filter or block email.
I don't like blocking entire domains either, so I came up with a
solution that only blocks Asian language email. It uses the Subject:
and Content-Type: headers to isolate the character set and blocks the
most common Asian types. This is a postfix header_check file. You'll
need to adapt it to your client or mailer as needed.
# header checks to kill Asian language spam
/^Subject:.*=\?big5\?/ REJECT
/^Content-Type:.*charset=.*big5/ REJECT
/^Subject:.*=\?euc-kr\?/ REJECT
/^Content-Type:.*charset=.*euc-kr/ REJECT
/^Subject:.*=\?gb2312\?/ REJECT
/^Content-Type:.*charset=.*gb2312/ REJECT
/^Subject:.*=\?iso-.*-jp\?/ REJECT
/^Content-Type:.*charset=.*iso-.*-jp/ REJECT
/^Subject:.*=\?koi8\?/ REJECT
/^Content-Type:.*charset=.*koi8-r/ REJECT
/^Subject:.*=\?ks_c_5601-1987\?/ REJECT
/^Content-Type:.*charset=.*ks_c_5601-1987/ REJECT
This is only a start, but its shown good sucess for getting rid of the
gibberish without nuking anything you might want.
...Thanks,
...Kenneth
Ryan Speed wrote:
>
> It seems to be a trend lately, I'm on a few lists that get spammed with
> this bullshit. I think the best bet would be to disallow mail from
> people who aren't subscribed to the list.
>
> ryan
>
> > -----Original Message-----
> > From: address@hidden [mailto:address@hidden
> > On Behalf Of Eric Siegerman
> > Sent: March 19, 2002 10:38 AM
> > To: cvsInfo
> > Subject: Re: english text only?
> >
> >
> > On Tue, Mar 19, 2002 at 07:15:12PM +0100, Leif Hanack wrote:
> > > i'm new to this mailing-list and i'm wondering myself why i receive
> > > mails with strange characters in it. i guess it is japanese
> > or stuff
> > > like that.
> >
> > It's spam. The rest of us don't want it either!
> >
> > > nevertheless, how can i get rid of it?
> >
> > I wish I knew...
> >
> > --
> >
> > | | /\
> > |-_|/ > Eric Siegerman, Toronto, Ont. address@hidden
> > | | /
> > "Outlook not so good." That magic 8-ball knows everything!
> > I'll ask about Exchange Server next.
> > - Anonymous
> >
> > _______________________________________________
> > Info-cvs mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/info-cvs
> >
>
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs
- RE: english text only?, Daniels, David, 2002/03/19
- RE: english text only?, Vishal Jain, 2002/03/19
- RE: english text only?, Daniels, David, 2002/03/19
- Re: english text only?, Mark A. Flacy, 2002/03/19