Xymon Mailing List Archive search

xymon] SMTP checks

list R P Herrold
Wed, 29 Sep 2021 12:36:54 -0400 (EDT)
Message-Id: <user-80dab22ee33d@xymon.invalid>

On Wed, 29 Sep 2021, Jeremy Laidman wrote:
The smtp check is defined in protocols.cfg

[smtp]
   send "mail\r\nquit\r\n"
   expect "220"
   options banner
   port 25

This expects a 220 in the response after the mail\r\nquit\r\n is sent:
The RFC requires waiting until "220 " .... note the trailing 
spacce

-- Russ herrold