1 # ACL checks after DATA
3 # Syntax OK, non-null sender => should be accepted
12 # Syntax error in header => should fail
23 # Syntax error (version 2) in header => should fail
29 Subject: incomprehensible
30 From: <forged@sender.com
36 # Syntax error in header => should fail even with null sender
47 # Null sender, invalid sender in header => fail
58 # Null sender, valid sender in header => accept
63 From: <postmaster@test.ex>
70 # Syntax OK, non-null sender, but bad data => reject
75 Message 6 contains trigger word
79 # Syntax OK, non-null sender, good data
82 rcpt to:<userx@test.ex>
88 # -bh test: Syntax error in header => should fail
99 # -bh test: Syntax OK, non-null sender, but bad data => reject
104 Message 9 contains trigger word
108 # Group syntax in reply-to header
111 rcpt to:<userx@test.ex>
113 to: group name: x@y, p@q;
114 reply-to: group name: a@b, c@d;
120 # Group syntax in reply-to header, but no address (falls back to From: for
121 # header_sender check - From: is valid)
124 rcpt to:<userx@test.ex>
126 to: group name: x@y, p@q;
127 reply-to: group name:;
134 # Group syntax in reply-to header, but no address (falls back to From: for
135 # header_sender check - but there is no From:)
138 rcpt to:<userx@test.ex>
140 to: group name: x@y, p@q;
141 reply-to: group name:;