procmail
[Top] [All Lists]

Re: Chinese-spam filter

2000-02-13 18:35:20
On 13 February 2000, Walter Dnes <waltdnes(_at_)waltdnes(_dot_)org> wrote:
[...]
  b) My other recipes have trapped spam from France, because of
     the rule of flagging any non-white-listed (mailing lists,
     etc.) email that is not addressed

     ^To: .*<list of valid addresses I accept email for>

     I am not kidding, it was actually addressed...

     A: waltdnes(_at_)interlog(_dot_)com

    Oh boy.  How much crap do we have to accommodate just to read our
mail?

  c) Code page 437 (aka "us-ascii") has most of its French
     accented characters in the ascii range 128..159, which my
     current filter avoids
[...]

    Minor correction: "us-ascii" is just what it says, US ASCII
(characters 32..127 that is), while cp437 used to be a MS-DOS "code
page" containing characters 1..255.  And since most people outside the
Unix world send messages from Windows, almost nobody really cares about
cp437 these days.

    FWIW, the encoding used by default on Windows is a slightly modified
iso-8859-1, and, for historical reasons, characters 128..159 have always
been unprintable in all iso-8859 encodings.  But even in the (bad) old
days of MS-DOS, people in France used cp850, not cp437, mainly because
it had uppercase accented letters.

    Regards,

    Liviu Daia

-- 
Dr. Liviu Daia               e-mail:   Liviu(_dot_)Daia(_at_)imar(_dot_)ro
Institute of Mathematics     web page: http://www.imar.ro/~daia
of the Romanian Academy      PGP key:  http://www.imar.ro/~daia/daia.asc

<Prev in Thread] Current Thread [Next in Thread>