Japheth, Regarding the SMTP/SMTPS protocol tests, my patch update changes the "mail" command to "helo localhost" to provide the proper greeting dialog to the SMTP server. You can see this yourself easily with the telnet command:
telnet mailhost 25 Trying NNN.NNN.NNN.NNN... Connected to mailhost. Escape character is '^]'. 220 mailhost.mydomain.com Microsoft ESMTP MAIL Service ready at Tue, 30 Apr 2019 10:03:17 -0600 mail 503 5.5.2 Send hello first helo localhost 250 mailhost.mydomain.com Hello [NNN.NNN.NNN.NNN] quit 221 2.0.0 Service closing transmission channel Connection closed by foreign host.
As you can see above, the "mail" command is not accepted, at least not without saying hello first.
The SMTP test results in Xymon will then show the results of the "helo localhost" as well:
cat ~xymon/data/logs/mailhost.smtp green <!-- [flags:OrdastLe] --> Tue Apr 30 09:56:37 2019 smtp ok
Service smtp on mailhost is OK (up)
220 mailhost.mydomain.com Microsoft ESMTP MAIL Service ready at Tue, 30 Apr 2019 09:56:39 -0600 250 mailhost.mydomain.com Hello [NNN.NNN.NNN.NNN] 221 2.0.0 Service closing transmission channel
Seconds: 0.000757000
Message received from NNN.NNN.NNN.NNN Status unchanged in 28 days, 23 hours, 3 minutes
[http://collab.micron.com/corp/brand/SiteAssets/Micron.png]<http://www.micron.com/> Tom Schmidt SR MANAGER, IT IT ETD DIBS Product Engineering Micron Technology, Inc.
Office: +1 (208) 368-4058 Fax: (208)368-2807
Email: tschmidt at micron.com Website: micron.com<http://www.micron.com/> Micron Technology, Inc., Confidential and Proprietary.
From: Japheth Cleaver <cleaver at terabithia.org> Sent: Tuesday, April 30, 2019 7:55 AM To: Tom Schmidt (tschmidt); Xymon Mailing List Cc: xymon-developer at lists.sourceforge.net Subject: Re: [EXT] [Xymon] Xymon 4.3.29 scheduling and F30
Still looking at a few of those. I'm a bit torn on removing the protocol dialog for SMTP/SMTPS, but given that we don't have a great way to enact pauses at the moment (a la 'expect'), I think it may be for the best.
Regards, -jc
On 4/29/2019 3:48 PM, Tom Schmidt (tschmidt) wrote:
Japheth, I submitted some patches a month ago for Xymon that I do not see in the current 4.3.29 r8059 snapshot. Attached is a context diff file for my patches for the current snapshot. Please consider adding them to the release, and let me know if you have any questions about them.
Tom Schmidt SR MANAGER, IT IT ETD DIBS Product Engineering Micron Technology, Inc. Office: +1 (208) 368-4058 Fax: (208)368-2807 Email: tschmidt at micron.com Website: micron.com Micron Technology, Inc., Confidential and Proprietary.
-----Original Message----- From: Xymon <xymon-bounces at xymon.com> On Behalf Of Japheth Cleaver Sent: Monday, April 29, 2019 11:47 AM To: Xymon Mailing List <xymon at xymon.com> Cc: xymon-developer at lists.sourceforge.net Subject: [EXT] [Xymon] Xymon 4.3.29 scheduling and F30
Hi all,
Just to give everyone an update, I have a few more patches I'm still looking at, but I mostly wanted to wait until I get a chance to test compile fixes on Fedora 30 final, which should drop today or tomorrow.
There are still a number of compile warnings generally (mostly char mismatch warnings), but if you know of compile issues on other platforms specifically, it would be helpful if you could run a quick test on the latest 4.3.29 snapshot to see if it's resolved. The latest snap is available at https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsourceforge.net%2Fp%2Fxymon%2Fcode%2FHEAD%2Ftree%2Fbranches%2F4.3.29%2F&data=02%7C01%7Ctschmidt%40micron.com%7C7809be5d420d4a501b8d08d6cd738506%7Cf38a5ecd28134862b11bac1d563c806f%7C0%7C0%7C636922293392144523&sdata=a%2BVLnl5jxh4orrd5tfypVNUxH8W92LLh30SNgJQc1f0%3D&reserved=0 in the upper right.
Thanks, -jc
Xymon mailing list Xymon at xymon.com https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.xymon.com%2Fmailman%2Flistinfo%2Fxymon&data=02%7C01%7Ctschmidt%40micron.com%7C7809be5d420d4a501b8d08d6cd738506%7Cf38a5ecd28134862b11bac1d563c806f%7C0%7C0%7C636922293392144523&sdata=e7woU%2FCKi3BNlUAx2cEgvvB6%2BUMG2FXBY66obn9MLqY%3D&reserved=0