| 1 | # TLS server: general ops and certificate extractions |
| 2 | exim -DSERVER=server -bd -oX PORT_D |
| 3 | **** |
| 4 | client-ssl 127.0.0.1 PORT_D |
| 5 | ??? 220 |
| 6 | ehlo rhu.barb |
| 7 | ??? 250- |
| 8 | ??? 250- |
| 9 | ??? 250- |
| 10 | ??? 250- |
| 11 | ??? 250- |
| 12 | ??? 250 |
| 13 | starttls |
| 14 | ??? 220 |
| 15 | mail from:<CALLER@test.ex> |
| 16 | ??? 250 |
| 17 | rcpt to:<CALLER@test.ex> |
| 18 | ??? 250 |
| 19 | DATA |
| 20 | ??? 3 |
| 21 | This is a test encrypted message. |
| 22 | . |
| 23 | ??? 250 |
| 24 | quit |
| 25 | ??? 221 |
| 26 | **** |
| 27 | client-ssl 127.0.0.1 PORT_D |
| 28 | ??? 220 |
| 29 | ehlo rhu.barb |
| 30 | ??? 250- |
| 31 | ??? 250- |
| 32 | ??? 250- |
| 33 | ??? 250- |
| 34 | ??? 250- |
| 35 | ??? 250 |
| 36 | starttls |
| 37 | ??? 220 |
| 38 | mail from:<"name with spaces"@test.ex> |
| 39 | ??? 250 |
| 40 | rcpt to:<CALLER@test.ex> |
| 41 | ??? 250 |
| 42 | DATA |
| 43 | ??? 3 |
| 44 | This is a test encrypted message. |
| 45 | . |
| 46 | ??? 250 |
| 47 | quit |
| 48 | ??? 221 |
| 49 | **** |
| 50 | client-ssl HOSTIPV4 PORT_D |
| 51 | ??? 220 |
| 52 | ehlo rhu.barb |
| 53 | ??? 250- |
| 54 | ??? 250- |
| 55 | ??? 250- |
| 56 | ??? 250- |
| 57 | ??? 250- |
| 58 | ??? 250 |
| 59 | starttls |
| 60 | ??? 220 |
| 61 | **** |
| 62 | client-ssl HOSTIPV4 PORT_D DIR/aux-fixed/exim-ca/example.com/server2.example.com/server2.example.com.pem DIR/aux-fixed/exim-ca/example.com/server2.example.com/server2.example.com.unlocked.key |
| 63 | ??? 220 |
| 64 | ehlo rhu.barb |
| 65 | ??? 250- |
| 66 | ??? 250- |
| 67 | ??? 250- |
| 68 | ??? 250- |
| 69 | ??? 250- |
| 70 | ??? 250 |
| 71 | starttls |
| 72 | ??? 220 |
| 73 | mail from:<CALLER@test.ex> |
| 74 | ??? 250 |
| 75 | rcpt to:<CALLER@test.ex> |
| 76 | ??? 250 |
| 77 | DATA |
| 78 | ??? 3 |
| 79 | This is a test encrypted message from a verified host. |
| 80 | . |
| 81 | ??? 250 |
| 82 | quit |
| 83 | ??? 221 |
| 84 | **** |
| 85 | killdaemon |
| 86 | exim -qf |
| 87 | **** |
| 88 | exim -bh 10.0.0.1 |
| 89 | starttls |
| 90 | quit |
| 91 | **** |