| 1 | # 4xx retries with 2nd message (don't use same connection) |
| 2 | need_ipv4 |
| 3 | # |
| 4 | # Put a message on the queue |
| 5 | exim -odq userx@domain1 |
| 6 | Test message 1 |
| 7 | **** |
| 8 | # Arrange a second message that's had a 4xx |
| 9 | server PORT_S |
| 10 | 220 ESMTP |
| 11 | EHLO |
| 12 | 250-OK |
| 13 | 250 HELP |
| 14 | MAIL |
| 15 | 250 OK |
| 16 | RCPT |
| 17 | 451 Later, please |
| 18 | QUIT |
| 19 | 220 OK |
| 20 | **** |
| 21 | exim -odi usery@domain1 |
| 22 | Test message 2 |
| 23 | **** |
| 24 | 1 |
| 25 | dump wait-smtp |
| 26 | # A queue run will try these in order, since queue_run_in_order is set. The |
| 27 | # first one is accepted, but it shouldn't fire up the second on the same |
| 28 | # connection, because a 4xx error should no longer put the message on the list. |
| 29 | server PORT_S |
| 30 | 220 ESMTP |
| 31 | EHLO |
| 32 | 250-OK |
| 33 | 250 HELP |
| 34 | MAIL |
| 35 | 250 OK |
| 36 | RCPT |
| 37 | 250 OK |
| 38 | DATA |
| 39 | 354 More... |
| 40 | . |
| 41 | 250 OK |
| 42 | QUIT |
| 43 | 250 OK |
| 44 | **** |
| 45 | exim -q -d-all+route |
| 46 | **** |
| 47 | no_msglog_check |