3 exim -DSERVER=server -bd -oX PORT_D
6 # Basic: is good ALPN set on tpt acceptable to server
7 exim -DCONTROL=smtp -odf a@test.ex
12 exim -DCONTROL=http -odf b@test.ex
14 sudo rm -f DIR/spool/db/retry DIR/spool/input/*-D DIR/spool/input/*-H
16 # Multiple ALPN rejected
17 exim -DCONTROL=smtp:smtp -odf c@test.ex
19 sudo rm -f DIR/spool/db/retry DIR/spool/input/*-D DIR/spool/input/*-H
21 # Empty client option is ok
22 exim -DCONTROL="" -odf d@test.ex
24 # Content-free client option is ok
25 exim -DCONTROL=" " -odf e@test.ex
29 # Server can be told to ignore (bad) ALPN from client
30 exim -DSERVER=server -DSTRICT="" -bd -oX PORT_D
32 exim -DCONTROL=http -odf f@test.ex
36 # Server can be told custom names list
37 exim -DSERVER=server -DSTRICT='${if eq {$sender_host_address}{HOSTIPV4} {smtp:weird} {smtp}}' -bd -oX PORT_D
39 exim -DCONTROL=weird -odf g@test.ex