Re: Get rid of messages in Cyrillic?

From: Michael Tokarev (no email)
Date: Mon Mar 17 2008 - 19:33:40 EDT

  • Next message: Glen Edwards: "Re: [Postfix] Re: rejecting spam that doesn't include the recipient's real name"

    Alexey Lobanov wrote:
    > Hello.
    >
    > 17.03.2008 23:29, Leo Ofenstein wrote:
    >
    >> What would be a good and efficient way to catch the non-english
    >> subjects before they even get to SA? Or if there isn't one, is there a
    >> way to set the spam score high enough that a Cyrillic subject would
    >> "spamify" it?
    >
    > Check headers:
    >
    > /^subject: =\?koi8/ REJECT We don't understand it, sorry
    > /^subject: =\?windows-1251/ REJECT We don't understand it, sorry

    How about

       /^subject: =\?(koi8|windows-1251|.....)/ REJECT We don't understand $1, sorry

    instead?

    (Especially useful when almost everyone, including US7-ASCII part of the
    world, is switching to UTF-8 ;)

    By the way, Hello, Alexey! :)

    /mjt


  • Next message: Glen Edwards: "Re: [Postfix] Re: rejecting spam that doesn't include the recipient's real name"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD