| 1 | # SMTP connection & EHLO/HELO error responses (+log_sender_on_delivery) |
| 2 | need_ipv4 |
| 3 | munge optional_dsn_info |
| 4 | # |
| 5 | exim -z "Test: temp-rej connect" |
| 6 | **** |
| 7 | server PORT_S |
| 8 | 450 I'm busy |
| 9 | QUIT |
| 10 | 250 OK |
| 11 | **** |
| 12 | exim -odi userx@domain1 |
| 13 | Test message 1 |
| 14 | **** |
| 15 | # |
| 16 | exim -z "Test: temp-rej helo" |
| 17 | **** |
| 18 | server PORT_S |
| 19 | 220 Connected OK |
| 20 | EHLO |
| 21 | 450 I'm busy |
| 22 | HELO |
| 23 | 450 I'm busy |
| 24 | QUIT |
| 25 | 250 OK |
| 26 | **** |
| 27 | exim -qf |
| 28 | **** |
| 29 | # |
| 30 | exim -z "Test: drop conn after banner" |
| 31 | **** |
| 32 | server PORT_S |
| 33 | 220 Connected OK |
| 34 | **** |
| 35 | exim -qf |
| 36 | **** |
| 37 | # |
| 38 | exim -z "Test: reject connect" |
| 39 | **** |
| 40 | server PORT_S |
| 41 | 550 Go away |
| 42 | QUIT |
| 43 | 250 OK |
| 44 | **** |
| 45 | exim -qf |
| 46 | **** |
| 47 | # |
| 48 | exim -z "Test: reject helo" |
| 49 | **** |
| 50 | server PORT_S |
| 51 | 220 Connected OK |
| 52 | EHLO |
| 53 | 550 Go away |
| 54 | HELO |
| 55 | 550 Go away |
| 56 | QUIT |
| 57 | 250 OK |
| 58 | **** |
| 59 | exim -odi userx@domain1 usery@domain2 |
| 60 | Test message 2 |
| 61 | **** |
| 62 | # |
| 63 | exim -z "Test: reject ehlo, then close (late, giving time for HELO)" |
| 64 | **** |
| 65 | sudo rm DIR/spool/db/retry |
| 66 | server PORT_S |
| 67 | 220 Connected OK |
| 68 | EHLO |
| 69 | 550 You are banned |
| 70 | HELO |
| 71 | **** |
| 72 | exim -odi userx@domain1 |
| 73 | Test message 4 |
| 74 | **** |
| 75 | # |
| 76 | # |
| 77 | no_msglog_check |