Hi ! Thanks for the patch.
It seems to work perfectly now (smtp multi-line banner). That's true I forgot to tell you which version of monit I use (the cvs version on a RH linux box in this case). Le samedi 10 septembre 2005 à 14:56 +0200, Jan-Henrik Haukeland a écrit : > Thanks for the problem report. I have changed the code in the CVS. > Can you please check out monit from CVS following these instructions > for anonymous check out, http://savannah.nongnu.org/cvs/?group=monit > and see if it works now? > > > On 9. sep. 2005, at 18.57, Debrard Sébastien wrote: > > > Hi ! > > > > Monit can't monitor correctly a mail server which sends multi-line > > banners. > > > > For example: > > > > Connected to glorfindel. > > Escape character is '^]'. > > 220-InterScan Version 3.81-Build_1022 $Date: 12/19/2003 17:51:0017$: > > Ready > > 220 -All ESMTP mail transactions are being logged > > QUIT > > 221 glorfindel closing connection > > Connection closed by foreign host. > > > > Monit does not catch correctly the last status (normally 221). > > > > The way I read RFC 821 suggests that multi-line "greeting" reply > > banners > > are explicitly allowed (p. 4.2 SMTP REPLIES). However, the 4.2 SMTP > > Replies section shows us a more restrictive ABNF grammar description. > > > > In practice, all smtp clients accept mulit-line "greeting" reply > > banners. Monit should do the same, I think. > > > > I Hope it can help you to progress Monit. > > > > Séb. > > > > > > > > _______________________________________________ > > monit-dev mailing list > > [email protected] > > http://lists.nongnu.org/mailman/listinfo/monit-dev > > > > -- > Jan-Henrik Haukeland > Mobil +47 97141255 > > > > _______________________________________________ > monit-dev mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/monit-dev _______________________________________________ monit-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/monit-dev
