Testsuite: updates for 8bitmime-as-default (GnuTLS).
[exim.git] / test / scripts / 2000-GnuTLS / 2011
... / ...
CommitLineData
1# TLS client & server: (gnu)tls_require_xxx
2gnutls
3# Start up the server
4exim -DSERVER=server -bd -oX PORT_D
5****
6# This puts a message on the queue (queue_only is set).
7exim userx@test.ex
8Testing
9****
10# This will fail to deliver encrypted because there are no acceptable
11# ciphers, so it will deliver in clear.
12exim -qf -DCREQCIP=tls_require_ciphers=IDEA-CBC-MD5
13****
14# This delivers the message to the server, where it will remain
15# on the queue because queue_only is set.
16exim -qf -DCREQCIP=tls_require_ciphers=IDEA-CBC-MD5:DES-CBC3-SHA:RSA_ARCFOUR_SHA
17****
18# So we can deliver it again and again, with different parameters.
19exim -qf -DCREQMAC=gnutls_require_mac=MD5
20****
21exim -qf -DCREQMAC=gnutls_require_mac=!SHA1
22****
23exim -qf -DCREQMAC=gnutls_require_mac=MD5:SHA
24****
25exim -qf -DCREQMAC=gnutls_require_kx=!DHE
26****
27exim -qf -DCREQMAC=gnutls_require_protocols=SSL3
28****
29# Restart the server with a cipher restriction
30killdaemon
31exim -DSERVER=server \
32 -DSREQCIP=tls_require_ciphers=ARCFOUR \
33 -DSREQMAC=gnutls_require_mac=MD5 \
34 -bd -oX PORT_D
35****
36exim -qf
37****
38killdaemon
39no_msglog_check