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