<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 29 March 2014 06:09, Wilcox, Theodore A -FS <span dir="ltr"><<a href="mailto:tawilcox@fs.fed.us" target="_blank">tawilcox@fs.fed.us</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Oops, it turned yellow again.  I didn't wait long enough.  So commenting out the  line beginning with "expect" in addition  turned them green</blockquote>

<div><br></div><div>Could be that you won't notice when if fails also.  What I would do is to work out the required send/expect strings to get it working correctly.  A tcpdump, as suggested by Henrik, would be a good start.</div>

<div><br></div><div>Do you have the "banner" keyword defined for [smtp] in protocols.cfg?  If you do (and it's the default) then you should see the message that comes back from the server in the "smtp" status page.  This string is what would be matched against the expect string.  If the banner doesn't include "220" anywhere, then that's the reason it's failing, and what it shows instead could be useful in working out what's wrong.</div>

<div><br></div><div>Or try this one-liner and see what comes back:</div><div><br></div><div>{ printf "mail\r\nquit\r\n"; sleep 1; } | telnet <a href="http://mail.cdn.telstra.com.au">mail.cdn.telstra.com.au</a> 25<br>

</div><div><br></div><div>J</div><div><br></div></div></div></div>