# 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
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
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
+****
>>> host in helo_try_verify_hosts? no (option unset)
>>> host in helo_accept_junk_hosts? no (option unset)
>>> using ACL "check_recipient"
->>> processing "accept" (TESTSUITE/test-config 24)
+>>> processing "accept" (TESTSUITE/test-config 27)
>>> check hosts = :
>>> host in ":"? no (end of list)
>>> accept: condition test failed in ACL "check_recipient"
->>> processing "deny" (TESTSUITE/test-config 25)
+>>> processing "deny" (TESTSUITE/test-config 28)
>>> message: unrouteable address
>>> check recipients = verify@test.ex
>>> userx@test.ex in "verify@test.ex"? no (end of list)
>>> deny: condition test failed in ACL "check_recipient"
->>> processing "accept" (TESTSUITE/test-config 28)
+>>> processing "accept" (TESTSUITE/test-config 31)
>>> check domains = +local_domains
>>> test.ex in "test.ex : *.test.ex"? yes (matched "test.ex")
>>> test.ex in "+local_domains"? yes (matched "+local_domains")
SMTP>> 250 OK
SMTP<< rcpt to:userx@test.ex
using ACL "check_recipient"
-processing "accept" (TESTSUITE/test-config 24)
+processing "accept" (TESTSUITE/test-config 27)
check hosts = :
host in ":"? no (end of list)
accept: condition test failed in ACL "check_recipient"
-processing "deny" (TESTSUITE/test-config 25)
+processing "deny" (TESTSUITE/test-config 28)
message: unrouteable address
check recipients = verify@test.ex
address match test: subject=userx@test.ex pattern=verify@test.ex
userx@test.ex in "verify@test.ex"? no (end of list)
deny: condition test failed in ACL "check_recipient"
-processing "accept" (TESTSUITE/test-config 28)
+processing "accept" (TESTSUITE/test-config 31)
check domains = +local_domains
test.ex in "test.ex : *.test.ex"? yes (matched "test.ex")
test.ex in "+local_domains"? yes (matched "+local_domains")
>>> host in helo_try_verify_hosts? no (option unset)
>>> host in helo_accept_junk_hosts? no (option unset)
>>> using ACL "check_recipient"
->>> processing "accept" (TESTSUITE/test-config 24)
+>>> processing "accept" (TESTSUITE/test-config 27)
>>> check hosts = :
>>> host in ":"? no (end of list)
>>> accept: condition test failed in ACL "check_recipient"
->>> processing "deny" (TESTSUITE/test-config 25)
+>>> processing "deny" (TESTSUITE/test-config 28)
>>> message: unrouteable address
>>> check recipients = verify@test.ex
>>> test.ex in "test.ex"? yes (matched "test.ex")
The error was detected in line 3.
0 previous messages were successfully processed.
The rest of the batch was abandoned.
+exim: timed out while reading - message abandoned