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 (+7 lines)
Lines 419-424 Link Here
419
describe __VIA_ML  Mail from a mailing list
419
describe __VIA_ML  Mail from a mailing list
420
420
421
421
422
# some clueless mailing lists (like zmailer with an RFC822TABS option on)
423
# are replacing a leading space by a TAB in header fields From, To,
424
# Cc, Date (Bug 6429)
425
header   __ML_TURNS_SP_TO_TAB  Received =~ /\(ORCPT <rfc822;/
426
describe __ML_TURNS_SP_TO_TAB  A mailing list changing a space to a TAB
427
428
422
# must keep it in sync with http://www.iana.org/assignments/ipv4-address-space/
429
# 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)\./
430
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)\./
424
describe RCVD_ILLEGAL_IP	Received: contains illegal IP address
431
describe RCVD_ILLEGAL_IP	Received: contains illegal IP address

Return to bug 6429