| 1 | # retry times when no IPv6 connectivity |
| 2 | need_ipv4 |
| 3 | # |
| 4 | server PORT_S |
| 5 | 220 ESMTP |
| 6 | EHLO |
| 7 | 250-OK |
| 8 | 250 HELP |
| 9 | MAIL FROM: |
| 10 | 250 Sender OK |
| 11 | RCPT TO: |
| 12 | 250 Recipient OK |
| 13 | DATA |
| 14 | 350 Send message |
| 15 | . |
| 16 | 250 OK |
| 17 | QUIT |
| 18 | 250 OK |
| 19 | **** |
| 20 | # This should successfully send to the IPv4 address, after failing to |
| 21 | # connect to the IPv6 address. |
| 22 | exim -odi userx@mx46cd.test.ex |
| 23 | First message |
| 24 | **** |
| 25 | # Let the IPv6 address time out |
| 26 | sleep 2 |
| 27 | # |
| 28 | server PORT_S |
| 29 | 220 ESMTP |
| 30 | EHLO |
| 31 | 250-OK |
| 32 | 250 HELP |
| 33 | MAIL FROM: |
| 34 | 250 Sender OK |
| 35 | RCPT TO: |
| 36 | 250 Recipient OK |
| 37 | DATA |
| 38 | 350 Send message |
| 39 | . |
| 40 | 250 OK |
| 41 | QUIT |
| 42 | 250 OK |
| 43 | **** |
| 44 | # This should also be successful |
| 45 | exim -odi userx@mx46cd.test.ex |
| 46 | Second message |
| 47 | **** |
| 48 | # |
| 49 | dump retry |
| 50 | # The IPv6 address has timed out, but the IPv4 address should still be OK |
| 51 | exim -odi userx@mx46cd.test.ex |
| 52 | Third message |
| 53 | **** |
| 54 | dump retry |
| 55 | exim -q |
| 56 | **** |
| 57 | exim -q |
| 58 | **** |
| 59 | exim -q |
| 60 | **** |
| 61 | exim -q |
| 62 | **** |
| 63 | exim -q |
| 64 | **** |
| 65 | no_msglog_check |