Blame tests/p_exim/_helper_exim_ehlo.expect

Christoph Galuschka d05160
#!/usr/bin/expect -f
e0746c
# Author: Christoph Galuschka <tigalch@tigalch.org>
Christoph Galuschka d05160
Christoph Galuschka d05160
set timeout 1
Christoph Galuschka d05160
spawn telnet localhost 25
Christoph Galuschka d05160
expect "220 *"
Christoph Galuschka d05160
send -- "ehlo localhost\n"
Christoph Galuschka d05160
expect -- "250-PIPELINING"
5a9020
sleep 1
bf5986
send -- "mail from: root@localhost\n"
bf5986
expect -- "250\ OK"
bf5986
send -- "rcpt to: eximtest@localhost\n"
bf5986
expect -- "250\ Accepted"
bf5986
send -- "data\n"
bf5986
expect -- "354*"
bf5986
send -- "t_functional test\n.\n"
27bc61
expect -- "250\ OK*"
Christoph Galuschka d05160
send -- "quit\n"
Christoph Galuschka d05160
expect "221*closing\ connection"