You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by Apache Wiki <wi...@apache.org> on 2006/10/20 12:36:21 UTC

[Spamassassin Wiki] Update of "WritingRules" by JustinMason

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Spamassassin Wiki" for change notification.

The following page has been changed by JustinMason:
http://wiki.apache.org/spamassassin/WritingRules

The comment on the change is:
error in the example; thanks to Dal Ponte Dominique for spotting it

------------------------------------------------------------------------------
  are true at the same time.The following example uses a boolean check and will add a negative
  score to emails from news@example.com containing the body text "Monthly Sales Figures"
  {{{
- header __LOCAL_FROM_NEWS  From ~= /news@example\.com/i
+ header __LOCAL_FROM_NEWS  From =~ /news@example\.com/i
  body   __LOCAL_SALES_FIGURES 	/\bMonthly Sales Figures\b/
  meta LOCAL_NEWS_SALES_FIGURES  (__LOCAL_FROM_NEWS && __LOCAL_SALES_FIGURES)
  score  LOCAL_NEWS_SALES_FIGURES -1.0