Results 1 to 4 of 4

Thread: Need 2n eyes - Trying to create spam rules in salocal.cf/.in

  1. #1
    Join Date
    Apr 2008
    Location
    Virginia
    Posts
    74
    Rep Power
    7

    Default Need 2n eyes - Trying to create spam rules in salocal.cf/.in

    My rule looks like this


    header HEADER_EFTPS_EMAIL Subject =~ /^Federal Tax Payment ID/i
    body BODY_EFTPS /^Federal Tax Payment ID/i
    meta EFTPS_EMAIL (HEADER_EFTPS_EMAIL && BODY_EFTPS)
    score EFTPS_EMAIL 20

    yet when i run a test with "LAST NOTICE: Your Federal Tax Payment ID: 0103634 is failed." in both subject and body. it comes through unscathed by the amavis

  2. #2
    Join Date
    Nov 2007
    Location
    AZ, USA
    Posts
    205
    Rep Power
    8

    Default

    Quote Originally Posted by VTC View Post
    My rule looks like this


    header HEADER_EFTPS_EMAIL Subject =~ /^Federal Tax Payment ID/i
    body BODY_EFTPS /^Federal Tax Payment ID/i
    meta EFTPS_EMAIL (HEADER_EFTPS_EMAIL && BODY_EFTPS)
    score EFTPS_EMAIL 20

    yet when i run a test with "LAST NOTICE: Your Federal Tax Payment ID: 0103634 is failed." in both subject and body. it comes through unscathed by the amavis
    How about Droping the "^" as the string you are testing is not the Start of the Field/line.
    I'm using
    Code:
    header   LOCAL_TAXFED           Subject =~ /Your Federal Tax Payment ID/i
    describe LOCAL_TAXFED           Check for a FED TAX Phish
    score     LOCAL_TAXFED           4.5

  3. #3
    Join Date
    Apr 2008
    Location
    Virginia
    Posts
    74
    Rep Power
    7

    Default

    I do know "describe LOCAL_TAXFED Check for a FED TAX Phish"

    Whats the variable "describe"?

  4. #4
    Join Date
    Nov 2007
    Location
    AZ, USA
    Posts
    205
    Rep Power
    8

    Default

    It describes the reason for the rule, and its not required, but reminds what the purpose of the rule was.

Similar Threads

  1. speed up the net
    By mcesari in forum Administrators
    Replies: 10
    Last Post: 04-25-2008, 12:24 PM
  2. Rules du Jour - spamassassin
    By sturgis in forum Administrators
    Replies: 10
    Last Post: 11-27-2007, 10:12 AM
  3. create filter rules using zimlets
    By anands in forum Zimlets
    Replies: 4
    Last Post: 08-16-2007, 10:53 PM
  4. Training spam and ham
    By Justin in forum Developers
    Replies: 2
    Last Post: 10-31-2006, 03:39 PM
  5. Spam assassain not traiing properly!
    By Mike T in forum Administrators
    Replies: 1
    Last Post: 10-09-2006, 02:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •