Support REQUIRETLS
[exim.git] / test / scripts / 5910-REQUIRETLS / 5912
CommitLineData
8ac90765
JH
1# REQUIRETLS smtp-time fails
2# Test these by having the MTA do a receipient-verify callout
3#
4# Server does not offer STARTTLS
5server PORT_D
6220 Hi there
7EHLO
8250 wotcher
9QUIT
10*eof
11****
12exim -DOPT=requiretls -DACL=verify=recipient/callout -odf -bs
13MAIL FROM:<CALLER@myhost.test.ex>
14RCPT TO:<a@test.ex>
15QUIT
16****
17#
18# Sever does not offer REQUIRETLS
19exim -DSERVER=server -DSRV='' -bd -oX PORT_D
20****
21exim -DOPT=requiretls -DACL=verify=recipient/callout -odf -bs
22MAIL FROM:<CALLER@myhost.test.ex>
23RCPT TO:<b@test.ex>
24QUIT
25****
26killdaemon
27#
28# Accepted callout
29exim -DSERVER=server -bd -oX PORT_D
30****
31exim -DOPT=requiretls -DACL=verify=recipient/callout -odf -bs
32MAIL FROM:<CALLER@myhost.test.ex>
33RCPT TO:<c@test.ex>
34QUIT
35****
36killdaemon
37#