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
16 sudo rm -f DIR/spool/db/retry
18 # Multiple ALPN rejected
19 exim -DCONTROL=smtp:smtp -odf c@test.ex
23 sudo rm -f DIR/spool/db/retry
25 # Empty client option is ok
26 exim -DCONTROL="" -odf d@test.ex
28 # Content-free client option is ok
29 exim -DCONTROL=" " -odf e@test.ex
33 # Server can be told to ignore (bad) ALPN from client
34 exim -DSERVER=server -DSTRICT="" -bd -oX PORT_D
36 exim -DCONTROL=http -odf f@test.ex
40 # Server can be told custom names list
41 exim -DSERVER=server -DSTRICT='${if eq {$sender_host_address}{HOSTIPV4} {smtp:weird} {smtp}}' -bd -oX PORT_D
43 exim -DCONTROL=weird -odf g@test.ex