2 # Separated from the OpenSSL equivalent as we deliberately send a Fatal Alert, and that gets logged by the receiver
3 # OpenSSL does not provides the facility.
5 exim -DSERVER=server -bd -oX PORT_D
7 # Client requires ALPN (success)
8 exim -DCONTROL=smtp -DREQUIRE=y -odf client_require@test.ex
12 # Server can be told to ignore (bad) ALPN from client
13 exim -DSERVER=server -DSTRICT="" -bd -oX PORT_D
15 # Client requires ALPN (fail)
16 exim -DCONTROL=http -DREQUIRE=y -odf client_require_fail@test.ex
20 sudo rm -f DIR/spool/db/retry
24 # Server can be told ALPN mandatory
25 exim -DSERVER=server -DREQUIRE=y -bd -oX PORT_D
27 # Client supplies ALPN, good
28 exim -DCONTROL=smtp -odf server_require_good@test.ex
30 # Client does not supply ALPN, fails
31 exim -odf server_require_bad@test.ex