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: <user-5411b26af1ea@xymon.invalid>\r\nrcpt to:
<user-cd30da8f5063@xymon.invalid>\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