[Pkg-nagios-devel] Bug#285554: acknowledged by developer (check_smtp update)

Jeroen van Wolffelaar jeroen at wolffelaar.nl
Sun Oct 9 16:15:18 UTC 2005


reopen 285554
thanks

On Sun, Oct 09, 2005 at 07:48:30AM -0700, Debian Bug Tracking System wrote:
> it looks like the latest version of check_smtp behaves a little
> better.  it waits for the server response before sending helo,
> which it does before sending starttls stuff.  if you still think
> there's a problem, please reopen the bug and mention what still
> needs to be fixed, and i'll take a stab at it.

It sends a HELO, yes, but not an EHLO, which is still wrong when you want to
do TLS.

< 220 Personal mailserver of Jeroen van Wolffelaar <jeroen at wolffelaar.nl>, using Debian Exim
> HELO bla
< 250 mordor.wolffelaar.nl Hello 22pc220.sshunet.nl [145.97.220.22]
> STARTTLS
< 503 STARTTLS command used when not advertised
> ......................... at .......\c.zw...Vn.=.D^
< 421 mordor.wolffelaar.nl lost input connection

Note that nagios starts TLS even though it's being refused by the SMTP server.


It also doesn't send a FQDN as HELO/EHLO parameter, which is technically also
an SMTP protocol failure. the hostname -f FQDN would do, for example, and/or
making is configureable.

You are right though that it behaves a little bit better, it's just not quite
there yet. Something that, to be honest, should have been obvious reading the
buglog & peeking at the code(-changes), so I'm wondering why you closed the
bug, but oh well. In the even I suddenly get magically enough time left over,
I'll take a stab at the code myself... But honesty requires me to admit that's
quite unlikely to happen anywhere soon.

Thank you very much for maintaining nagios!
--Jeroen

-- 
Jeroen van Wolffelaar
Jeroen at wolffelaar.nl (also for Jabber & MSN; ICQ: 33944357)
http://Jeroen.A-Eskwadraat.nl




More information about the Pkg-nagios-devel mailing list