Re: Better way to match headers

From: mouss (no email)
Date: Mon Jan 02 2006 - 17:10:11 EST

  • Next message: José Luis Tallón: "Re: On the db_common infrastructure -- FOUND"

    Joey a écrit :
    > Currently I am matching in header_checks things like this:
    > header_checks = regexp:/etc/postfix/header_checks
    >
    > File contains things like this:
    >
    > /^(To|From|Cc|Reply-To):.*emailoffernetwork\.com/ REJECT Header TFCR 1060
    > /^(To|From|Cc|Reply-To):.*ideasforthegoodlife\.com/ REJECT Header TFCR 1061
    >
    > /^Subject:.*Weight Loss Pills/ REJECT SubJect Rejected
    > /^Subject:.*STOP SNORING IMMEDIATELY/ REJECT SubJect Rejected
    >

    Content filters are better at this. You have a plenty of choices:
    spamassassin (via amavisd-new or not), dspam, bogofilter, ...


  • Next message: José Luis Tallón: "Re: On the db_common infrastructure -- FOUND"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD