Here are a handful of rules that work for me. Feel free to try them.
If you do, please let me know how they work for you.

(Apologies for my mail client trashing the formatting.
Be sure to check for possible line wrap on some of the rules!)

       Loren


body  LW_PAYMENT  /You\s+sent\s+a\s+Payment\s+of/i
score  LW_PAYMENT  0.5
describe LW_PAYMENT  You sent someone a payment

body  LW_ORDER  /\b(?:order|purchase)\s+(?:number|ID|date|description)\b/i
score  LW_ORDER  0.5
describe LW_ORDER  Contains order information


header  __LW_SUB_INVOICE Subject =~ /\b(?:invoice|order)\b/
header  __LW_FROM_INVOICE From =~ /\b(?:invoice|order)\b/
header  __LW_ABC_LISTID List-Id =~ /\w{13}\s+\<ab/   # some <ab>, some <abc>

meta LW_BOGUS_ORDER (__LW_SUB_INVOICE || __LW_FROM_INVOICE) && __LW_ABC_LISTID
score  LW_BOGUS_ORDER 5
describe LW_BOGUS_ORDER Fake order or invoice

meta  LW_SPAM_LISTID __LW_ABC_LISTID
score  LW_SPAM_LISTID 1
describe LW_SPAM_LISTID The List_Id header seems to indicate spam


meta  LW_FREEMAIL_ORDER FREEMAIL_FROM && (LW_ORDER || LW_PAYMENT)
score  LW_FREEMAIL_ORDER 4
describe LW_FREEMAIL_ORDER An order receipt from a free email address


header __LW_SUB_AMZ_ORDER Subject =~ /^Your Amazon\.com order \#\d{3}-\d{7}-\d{7}\s*$/ header __LW_FROM_AMZ_ORDER From =~ /\"Amazon\.com\"\s+<auto-confirm\@amazon\.com>/
header  __LW_REP_AMZ_ORDER   Reply-To     =~ /^no-reply\@amazon\.com\s*$/
body         __LW_BODY_AMZ_ORDER  /Amazon.com Order Confirmation/

meta LW_REAL_AMZ_ORDER __LW_SUB_AMZ_ORDER && __LW_FROM_AMZ_ORDER && __LW_REP_AMZ_ORDER && __LW_BODY_AMZ_ORDER
score        LW_REAL_AMZ_ORDER    -2
describe     LW_REAL_AMZ_ORDER   Amazon order confirmation

header  __LW_FROM_AMZ  From  =~ /\bamazon\b/i
header  __LW_SUB_ORDER Subject =~ /\border\b/i

meta LW_FAKE_AMZ_ORDER __LW_FROM_AMZ && __LW_SUB_ORDER && !LW_REAL_AMZ_ORDER
score        LW_FAKE_AMZ_ORDER   7
describe     LW_FAKE_AMZ_ORDER   Amazon order phish



Reply via email to