sleep 1
killdaemon
#
+exim -z 'test2'
+****
#
# smtp send, deliver_drop_priv
server PORT_S
killdaemon
#
#
+exim -z 'test3'
+****
# multiple recipients
# 1st callout result is cached (above); should not activate LCC
# smtp send
sleep 1
#
#
+exim -z 'test4'
+****
# 2nd callout result is cached (above); should not activate LCC
# smtp send
server PORT_S 2
221 Bye
****
#
+# XXX this test intermittently fails, at this client...
+# the client gets a 451 rcpt-v fail for userd3
+# the stderr-server says it got a conn-refused for the verify callout, which should have
+# gone to the above "server" command, first of the 2 conns it is expecting
+# the stdout-server shows "server" handling the previous subtest (userd, userd2) fine, plus
+# a fresh "server" startup and listen. Which should have been this one... perhaps it was
+# not there in time? Add server-wait synch point for _previous_ server, using dummy "exim -z".
client 127.0.0.1 PORT_D
??? 220
EHLO test.ex
sleep 1
#
#
+exim -z 'test5'
+****
# no cache hits; should do LCC
# smtp send
server PORT_S 2