1 # ACL checks after DATA
3 # Syntax OK, non-null sender => should be accepted
12 # Syntax error in header => should fail
23 # Syntax error in header => should fail even with null sender
34 # Null sender, invalid sender in header => fail
45 # Null sender, valid sender in header => accept
50 From: <postmaster@test.ex>
57 # Syntax OK, non-null sender, but bad data => reject
62 Message 6 contains trigger word
66 # Syntax OK, non-null sender, good data
69 rcpt to:<userx@test.ex>
75 # -bh test: Syntax error in header => should fail
86 # -bh test: Syntax OK, non-null sender, but bad data => reject
91 Message 9 contains trigger word
95 # Group syntax in reply-to header
98 rcpt to:<userx@test.ex>
100 to: group name: x@y, p@q;
101 reply-to: group name: a@b, c@d;
107 # Group syntax in reply-to header, but no address (falls back to From: for
108 # header_sender check - From: is valid)
111 rcpt to:<userx@test.ex>
113 to: group name: x@y, p@q;
114 reply-to: group name:;
121 # Group syntax in reply-to header, but no address (falls back to From: for
122 # header_sender check - but there is no From:)
125 rcpt to:<userx@test.ex>
127 to: group name: x@y, p@q;
128 reply-to: group name:;