| 1 | # LMTP over TCP/IP - temporary error handling |
| 2 | need_ipv4 |
| 3 | # This one has no retry time, so will be bounced immediately. |
| 4 | # |
| 5 | server PORT_S |
| 6 | 220 ESMTP |
| 7 | LHLO |
| 8 | 250-OK |
| 9 | 250 HELP |
| 10 | MAIL FROM: |
| 11 | 250 Sender OK |
| 12 | RCPT TO: |
| 13 | 250 Receiver OK |
| 14 | RCPT TO: |
| 15 | 250 Receiver OK |
| 16 | DATA |
| 17 | 354 Send it |
| 18 | . |
| 19 | 450 TEMPERROR |
| 20 | 250 OK |
| 21 | QUIT |
| 22 | 250 OK |
| 23 | **** |
| 24 | exim -odi userx@test.ex usery@test.ex |
| 25 | This is a test message. |
| 26 | **** |
| 27 | # This one has a retry time, so will be deferred. |
| 28 | # |
| 29 | server PORT_S |
| 30 | 220 ESMTP |
| 31 | LHLO |
| 32 | 250-OK |
| 33 | 250 HELP |
| 34 | MAIL FROM: |
| 35 | 250 Sender OK |
| 36 | RCPT TO: |
| 37 | 250 Receiver OK |
| 38 | DATA |
| 39 | 354 Send it |
| 40 | . |
| 41 | 450 TEMPERROR |
| 42 | QUIT |
| 43 | 250 OK |
| 44 | **** |
| 45 | exim -odi userx@retry.test.ex |
| 46 | This is a test message. |
| 47 | **** |
| 48 | sleep 1 |
| 49 | # Should by now have exceeded retry time. |
| 50 | server PORT_S |
| 51 | 220 ESMTP |
| 52 | LHLO |
| 53 | 250-OK |
| 54 | 250 HELP |
| 55 | MAIL FROM: |
| 56 | 250 Sender OK |
| 57 | RCPT TO: |
| 58 | 250 Receiver OK |
| 59 | DATA |
| 60 | 354 Send it |
| 61 | . |
| 62 | 450 TEMPERROR |
| 63 | QUIT |
| 64 | 250 OK |
| 65 | **** |
| 66 | exim -q |
| 67 | **** |
| 68 | # This one gives a temporary error for RCPT, no retry |
| 69 | # |
| 70 | server PORT_S |
| 71 | 220 ESMTP |
| 72 | LHLO |
| 73 | 250-OK |
| 74 | 250 HELP |
| 75 | MAIL FROM: |
| 76 | 250 Sender OK |
| 77 | RCPT TO: |
| 78 | 450 TEMPERROR |
| 79 | QUIT |
| 80 | 250 OK |
| 81 | **** |
| 82 | exim -odi userx@test.ex |
| 83 | This is a test message. |
| 84 | **** |
| 85 | no_msglog_check |