1 # ACL checks after DATA
3 # Syntax OK, non-null sender => should be accepted
13 # Syntax error in header => should fail
25 # Syntax error (version 2) in header => should fail
32 Subject: incomprehensible
33 From: <forged@sender.com
39 # Syntax error in header => should fail even with null sender
51 # Null sender, invalid sender in header => fail
63 # Null sender, valid sender in header => accept
69 From: <postmaster@test.ex>
76 # Syntax OK, non-null sender, but bad data => reject
82 Message 6 contains trigger word
86 # Syntax OK, non-null sender, good data
90 rcpt to:<userx@test.ex>
96 # -bh test: Syntax error in header => should fail
108 # -bh test: Syntax OK, non-null sender, but bad data => reject
114 Message 9 contains trigger word
118 # Group syntax in reply-to header
122 rcpt to:<userx@test.ex>
124 to: group name: x@y, p@q;
125 reply-to: group name: a@b, c@d;
131 # Group syntax in reply-to header, but no address (falls back to From: for
132 # header_sender check - From: is valid)
136 rcpt to:<userx@test.ex>
138 to: group name: x@y, p@q;
139 reply-to: group name:;
146 # Group syntax in reply-to header, but no address (falls back to From: for
147 # header_sender check - but there is no From:)
151 rcpt to:<userx@test.ex>
153 to: group name: x@y, p@q;
154 reply-to: group name:;