[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
custom smtp test
- To: Hobbit <hobbit (at) hswn.dk>
- Subject: custom smtp test
- From: Matti Klock <matti (at) saffron.net>
- Date: Mon, 12 Sep 2005 16:13:24 -0400
- User-agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317)
I'd like to test sending a message to a null address via SMTP. I tried
to do by adding the following test to bb-services and bb-hosts:
[send]
send "ehlo\r\nmail from: <hobbit (at) foo.com>\r\nrcpt to:
<null (at) bar.com>\r\ndata\r\n.\r\nquit\r\n"
expect "250 Accepted message"
options banner
port 25
Lo, a send column appeared. It's acting funny, though. The messages are
definitely getting sent, but the status stays yellow, and the only
output it captures is "220 bar.com ESMTP".
Is this a silly way to do such a test? Does Hobbit time out too rapidly
to see the rest of the output? I looked through the code for bbtest-net,
but I'm not good enough at select loops to figure out what it's doing.
Thanks,
Matti