[hobbit] smtp check

Henrik Stoerner henrik at hswn.dk
Thu Dec 1 16:20:32 CET 2005


On Thu, Dec 01, 2005 at 02:41:32PM +0100, Stef Coene wrote:
> On Thursday 01 December 2005 13:59, Henrik Stoerner wrote:
> >
> > Most likely, it complains because Hobbit fires off SMTP commands before
> > waiting for the SMTP server's greeting. Technically, this is in
> > violation of the SMTP protocol, and some newer servers complain about
> > this.
> >
> > Try removing the "send" part from the [smtp] section in
> > ~hobbit/server/etc/bb-services
>
> That's working.  But isn't that the same as just a port check ?

No. If you just remove the "send" bit, Hobbit will still use the
"expect" definition and check that the SMTP server sends back a
"220" OK-message that it is ready.

The only reason Hobbit sends the "MAIL\r\nQUIT\r\n" string is 
because sendmail complains if you connect to it, but don't send
anything.


Henrik




More information about the Xymon mailing list