View | Details | Raw Unified | Return to bug 6429
Collapse All | Expand All

(-)rulesrc/sandbox/kb/20_header.cf (-1 / +3 lines)
Lines 34-39 Link Here
34
#       space that was showing up in header rules.  For 3.2.x releases the
34
#       space that was showing up in header rules.  For 3.2.x releases the
35
#       pattern must be changed to /^ \t/.
35
#       pattern must be changed to /^ \t/.
36
36
37
header   KB_DATE_CONTAINS_TAB  Date:raw =~ /^\t/
37
header   __KB_DATE_CONTAINS_TAB  Date:raw =~ /^\t/
38
meta     KB_DATE_CONTAINS_TAB  __KB_DATE_CONTAINS_TAB && !__ML_TURNS_SP_TO_TAB 
39
38
meta     KB_FAKED_THE_BAT      (__THEBAT_MUA && KB_DATE_CONTAINS_TAB)
40
meta     KB_FAKED_THE_BAT      (__THEBAT_MUA && KB_DATE_CONTAINS_TAB)
39
41
(-)rulesrc/sandbox/hege/20_hk.cf (-1 / +3 lines)
Lines 111-117 Link Here
111
score		HK_PNISES		1
111
score		HK_PNISES		1
112
112
113
# From Mike Cappella
113
# From Mike Cappella
114
header		TAB_IN_FROM		From:raw =~ /^\t/s
114
header		__TAB_IN_FROM		From:raw =~ /^\t/s
115
describe	__TAB_IN_FROM		From starts with a tab
116
meta		TAB_IN_FROM		__TAB_IN_FROM && !__ML_TURNS_SP_TO_TAB 
115
describe	TAB_IN_FROM		From starts with a tab
117
describe	TAB_IN_FROM		From starts with a tab
116
118
117
119
(-)rules/20_head_tests.cf (+4 lines)
Lines 418-423 Link Here
418
meta     __VIA_ML  __ML1 || __ML2 || __ML3 || __ML4 || __ML5
418
meta     __VIA_ML  __ML1 || __ML2 || __ML3 || __ML4 || __ML5
419
describe __VIA_ML  Mail from a mailing list
419
describe __VIA_ML  Mail from a mailing list
420
420
421
# some clueless mailing lists are replacing a leading space by a TAB
422
# in header fields From, To, Cc, Date (Bug 6429)
423
header   __ML_TURNS_SP_TO_TAB  List-Id =~ /(^<|\.)vger\.kernel\.org>$/i
424
describe __ML_TURNS_SP_TO_TAB  A mailing list changing a space to TAB
421
425
422
# must keep it in sync with http://www.iana.org/assignments/ipv4-address-space/
426
# must keep it in sync with http://www.iana.org/assignments/ipv4-address-space/
423
header RCVD_ILLEGAL_IP		X-Spam-Relays-Untrusted =~ / (?:by|ip)=(?=\d+\.\d+\.\d+\.\d+ )(?:0|2(?:2[4-9]|[3-5]\d)|192\.0\.2|198\.51\.100|203\.0\.113)\./
427
header RCVD_ILLEGAL_IP		X-Spam-Relays-Untrusted =~ / (?:by|ip)=(?=\d+\.\d+\.\d+\.\d+ )(?:0|2(?:2[4-9]|[3-5]\d)|192\.0\.2|198\.51\.100|203\.0\.113)\./

Return to bug 6429