exim_lock [options] <file name>
This command runs the exim_lock utility with the given options and file name.
-The file remains locked with the following command (normally exim) is obeyed.
+The file remains locked for following commands until a non-daemon "exim"
+completes.
exinext <data>
The following lines, up to a line of four asterisks, are the server's
controlling standard input (described below). These lines are read and
-remembered; during the following commands, until an "exim" command is reached,
-the server is run in parallel.
+remembered; during the following commands, until a non-deamon "exim" command
+is reached, the server is run in parallel. Then the server termination
+is waited for.
write <file name> [nxm[=start-of-line-text]]*
+1999-03-02 09:44:33 test2
+1999-03-02 09:44:33 test3
+1999-03-02 09:44:33 test4
+1999-03-02 09:44:33 test5
******** SERVER ********
1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D
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