Re: rejecting *@spammers.com on PCRE Header_Checks

From: mouss (no email)
Date: Wed Jun 01 2005 - 08:46:28 EDT

  • Next message: Wietse Venema: "Re: Dot in alias before @ bounces"

    Magnus Bäck wrote:
    > On Tuesday, May 31, 2005 at 23:10 CEST,
    > Matt Fretwell <> wrote:
    >
    >
    >>Jim Knuth wrote:
    >>
    >>
    >>>what did you mean with \w?
    >>>Do you have an example please?
    >>
    >> It should be \b, not \w. The \b ties the expression to the end of the
    >>word. If you have pcre installed, 'man pcrepattern'. That gives you an
    >>explanation of the semantics.
    >
    >
    > Ah yes, of course I meant the word boundary token \b. Sorry.
    >

    I'd also remove the space after From:
    /^From:.*@spamm\.you\b/ REJECT
    so that broken headers are matched too (unless postfix fixes those. too
    lazy to check:)

    now, this won't block encoded FROMs (such as big5, ...), would it?


  • Next message: Wietse Venema: "Re: Dot in alias before @ bounces"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD