This feature still exists only for historic reasons and to solve very specific situations. Regular expressions are too resource consuming, may easily generate false positives and aren't effective enough.
This feature shall be used only to reject some specific spams which can't be detected by some other means.
This file is used to configure ze-filter pattern matching feature. It contains lines with the following syntax :
WHERE SCORE REGULAR EXPRESSION
WHERE - where or what to look for
SCORE - a positive integer number
REGULAR EXPRESSION - a regular expression to look for.
Expressions to be matched against full text
BODY -
HEADERS -
FROM -
SUBJECT -
HELO -
ANYWHERE -
BODY 15 (add|gain).{1,20}inches
SUBJECT 15 SEXUALLY EXPLICIT
Expressions to be matched only against URIs
URLSTR 50 adultfriendfinder.com
URLEXPR 10 [^ />]+eoffer[s]*\.(com|net|bz|biz|tv)
URLEXPR 10 [^ />]+/unsubscribe