diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2020-03-08 15:20:10 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2020-03-08 15:49:50 +0000 |
commit | 4bcc0ff50b9dd7fceded6164b554861dab8ea751 (patch) | |
tree | dd4a6fb79763922aa9134f0a9f3d4133ea8ce5e2 /test/scripts/0000-Basic | |
parent | e68def51cb753d730249565e630b549a73857ec1 (diff) |
Testsuite: testcases for bug 2538
Diffstat (limited to 'test/scripts/0000-Basic')
-rw-r--r-- | test/scripts/0000-Basic/0092 | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/test/scripts/0000-Basic/0092 b/test/scripts/0000-Basic/0092 index 153431753..d22feebb3 100644 --- a/test/scripts/0000-Basic/0092 +++ b/test/scripts/0000-Basic/0092 @@ -1,16 +1,24 @@ # SMTP incoming timeout + receive_timeout +# +# stdin-smtp, no cmds, smtp command timeout 2s 1 3 exim -bs **** +# +# stdin-smtp, cmds then pause in dataphase, smtp command timeout 2s 1 3 exim -bs mail from: userx@test.ex rcpt to: userx@test.ex data **** +# +# stdin-smtp, no cmds, smtp command timeout 2s 1 3 exim -bh V4NET.0.0.1 **** +# +# stdin-smtp, cmds then pause in dataphase, smtp command timeout 2s 1 3 exim -bh V4NET.0.0.1 mail from:userx@test.ex @@ -18,6 +26,9 @@ rcpt to:userx@test.ex data The quick brown fox **** +# +# stdin-smtp, cmds then pause in dataphase, smtp command timeout 2s +# late-expansion of smtp_receive_timeout 1 3 exim -d+expand '-DOPT=${if eq {V4NET.0.0.1} {$sender_host_address} {2} {30}}s' -bh V4NET.0.0.1 mail from:userx@test.ex @@ -25,24 +36,53 @@ rcpt to:userx@test.ex data The quick brown fox **** +# +# cmdline mail, no stdin, receive_timeout 2s 1 3 exim userx@test.ex **** +# +# cmdline mail, some data then pause, receive_timeout 2s 1 3 exim userx@test.ex The quick brown fox jumps over the lazy dog. **** +# +# stdin-smtp, cmds then pause before dataphase, smtp command timeout 2s 1 3 exim -bh V4NET.0.0.1 mail from: userx@test.ex rcpt to: verify@test.ex **** +# +# stdin-bsmtp, no stdin, smtp command timeout 2s 2 3 exim -bS **** +# +# stdin-bsmtp, some data then pause, smtp command timeout 2s 2 3 exim -bS mail from: userx@test.ex rcpt to: userx@test.ex data +**** +# +# stdin-smtp, no cmds, smtp command timeout 2s set by cmdline +1 +3 exim -DCOM=y -bs -os 2s +**** +1 +3 exim -DCOM=y -os 2s -bs +**** +# +# cmdline mail, no stdin, receive_timeout 2s set by cmdline +1 +3 exim -DCOM=y -or 2s userx@test.ex +**** +# +# stdin-bsmtp, no stdin, receive_timeout 2s set by cmdline +# should not timeout +3 exim -DCOM=y -bS -or 2s +**** |