Am 29.12.2015 um 21:38 schrieb Philip Prindeville:
Is there a reason that headers are left with leading spaces? I’ve noticed that I have to write rules as: Subject =~ /^ Great [Jj]ob [Oo]pportunity/ because of the leading space… Given the text of RFC-2822
no, we have a ton of subject and body rules and the work fine without a leading whitespace
maybe "normalize_charset 1" makes the difference but we had them AFAIR also before enable that option
# Subject Begins Highheader __CUST_SUBJ_9 Subject =~ /^(apply\s+for\s+urgent\s+loan|auslieferungsankündigung\s+betrefend\s+ihre\s+sendung|deutsche\s+bank\:\s+sicherheitssperre\s+ihres\s+kontos|festnetz\-rechnung|have\s+you\s+won|ihr\s+konto\s+wurde\s+begrenzt|ihre\s+festnetz\-rechnung|ihre\s+mobilfunk\-rechnung|investment\s+opportunit|investment\s+quest|kredit|loan|mobilfunk\-rechnung|neue\s+festnetz\-rechnung|neue\s+mobilfunk\-rechnung|proposal|sie\s+haben\s+gewonnen|verify\s+your\s+account|you\s+won|your\s+paypal\s+account\s+has\s+been\s+limited|\[paypal\]\s+check\s+the\s+account\s+paypal).*/i
meta CUST_SUBJ_9 (__HAS_SUBJECT && __CUST_SUBJ_9) score CUST_SUBJ_9 3.5 describe CUST_SUBJ_9 Begins High [roo[root@mail-gw:~]$ cat maillog | grep CUST_SUBJ_9 | wc -l 16t@mail-gw:~]$ cat maillog | grep CUST_SUBJ_9 | wc -l 16
signature.asc
Description: OpenPGP digital signature