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
18 sudo rm -f DIR/spool/db/retry* DIR/spool/input/*-D DIR/spool/input/*-H
22 # Server can be told ALPN mandatory
23 exim -DSERVER=server -DREQUIRE=y -bd -oX PORT_D
25 # Client supplies ALPN, good
26 exim -DCONTROL=smtp -odf server_require_good@test.ex
28 # Client does not supply ALPN, fails
29 exim -odf server_require_bad@test.ex