X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/3369a853fbc0fe454ac65fef7adf7e51845ff6a2..a8761d62664f96259d815ab84a7a734829972fb3:/test/scripts/5900-queuefile-transport/5902?ds=sidebyside diff --git a/test/scripts/5900-queuefile-transport/5902 b/test/scripts/5900-queuefile-transport/5902 index 4b2a9a611..77c1db215 100644 --- a/test/scripts/5900-queuefile-transport/5902 +++ b/test/scripts/5900-queuefile-transport/5902 @@ -1,22 +1,23 @@ # queuefile transport test delivery -sudo chown EXIMUSER:EXIMGROUP DIR/aux-fixed/5902/outbound -exim -odi normal -**** -sleep 5 # -exim -bs -MAIL FROM: -RCPT TO: -DATA -Subject: test - -foo -. -QUIT +# make a scanner dir for the transport to write into +mkdir -p DIR/scanner +sudo chown EXIMUSER:EXIMGROUP DIR/scanner +# +# this message should be placed by the queuefile transport in the scanner directory +exim -DOPT=scan user1 **** -sleep 5 +sleep 1 # -ls DIR/aux-fixed/5902/outbound -sudo mv DIR/aux-fixed/5902/outbound/1* DIR/spool/input/ +# check it is there +ls DIR/scanner +# +# then re-inject "after scanning" to the default queue and see it gets found +# it should get an appendfile delivery becase it is from the default queue +sudo mv DIR/scanner/* DIR/spool/input/ exim -q +**** +# +# tidy up +sudo rm -fr DIR/scanner no_msglog_check