<div dir="ltr">Ian<div><br></div><div>I believe the postfix warning is because there's a "mail" command before a "helo" or "ehlo" command. Pipelining is when Postfix checks to see that the mail client is waiting for the response to one command, before sending the next command, rather than just sending a "pipeline" of commands without checking the results of each. Spamming robots do this kind of thing. You can either modify the postfix configuration (see reject_unauth_pipelining), or adjust the [smtp] protocol to not start sending a mail message. I'd suggest sending "ehlo xymonnet\r\nquit\r\n".</div><div><br></div><div>What triggers the smtp check is:</div><div>a) you have "smtp" on the host's line in hosts.cfg, and</div><div>b) you have xymonnet being launched every 5 minutes, which reads hosts.cfg, sees "smtp" and looks up the [smtp] section in protocols.cfg</div><div><br></div><div>When there's a test failure, xymonnet-again runs every minute and does a rapid re-check of any failed tests. So a test that goes red can go green again a minute later. In fact, xymonnet and xymonnet-again don't seem to be synchronised at all, so I guess it's possible for xymonnet to run immediately after xymonnet has finished.</div><div><br></div><div>J</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 29 Sept 2021 at 20:18, Ian Diddams via Xymon <<a href="mailto:xymon@xymon.com">xymon@xymon.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><br><br>---------- Forwarded message ----------<br>From: Ian Diddams <<a href="mailto:didds3@yahoo.co.uk" target="_blank">didds3@yahoo.co.uk</a>><br>To: xymon <<a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a>><br>Cc: <br>Bcc: <br>Date: Wed, 29 Sep 2021 10:18:19 +0000 (UTC)<br>Subject: Re: [Xymon] SMTP checks<br><div><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:10px"><div></div>
        <div dir="ltr">I also can see from the maillog that when the smtp check occurs <br><br><br><div dir="ltr">Sep 29 11:05:01 oscar postfix/smtpd[27269]: connect from unknown[x.x.x.x]<br><div>Sep 29 11:05:01 oscar postfix/smtpd[27269]: improper command pipelining after MAIL from unknown <span>[x.x.x.x]</span></div><div dir="ltr">Sep 29 11:05:01 oscar postfix/smtpd[27269]: disconnect from unknow <span>[x.x.x.x]</span><br><br>so obviously the smtp check is sending something postfix doesnt like/handle.  That isnt a bhiggy in itself - bgut it nojw makes me wonder out of curiosity exactly what the logic of  the smtp check is..<br><br><div dir="ltr">I also tried Jeremy's example of <span>"ehlo xymonnet\r\nquit\r\n" in protocols.cfg - that also has the same warning/error in maillog <br><br></span><div dir="ltr"><span><span> improper command pipelining after EHLO from unknown</span></span>[x.x.x.x]<br><br><div>all jolly wierd,....</div><div><br></div><div dir="ltr"><div>ian</div><span></span></div></div></div></div><br></div><div><br></div></div><div><br></div>
        
        </div><div id="gmail-m_-2841550732493973455ydp9863caf7yahoo_quoted_3832275533">
            <div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;color:rgb(38,40,42)">
                
                <div>
                    On Wednesday, 29 September 2021, 10:59:09 BST, Ian Diddams via Xymon <<a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a>> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="gmail-m_-2841550732493973455ydp9863caf7ymsg17009"><div id="gmail-m_-2841550732493973455ydp9863caf7yiv0592539819"><div id="gmail-m_-2841550732493973455ydp9863caf7yiv0592539819yqtfd44457"><div><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:10px"><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;color:rgb(38,40,42)"><br clear="none"><div><div id="gmail-m_-2841550732493973455ydp9863caf7yiv0592539819ydpdec3ffa4yiv2484846321"><div><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:10px"><div dir="ltr" id="gmail-m_-2841550732493973455ydp9863caf7yiv0592539819ydpdec3ffa4yiv2484846321ydp975b9934yahoo_quoted_3210640632">secondary question...<br clear="none"><div><br clear="none"></div><div dir="ltr">what triggers the smtp check?<br clear="none"><br clear="none"><div dir="ltr">Ive had instances where the test goes red, and then just a few seconds later back to green.  So this isnt a standard "every 5 minutes" clearly ?<br clear="none"><br clear="none">...<br clear="none"><div>Wed Sep 29 08:44:39 2021 green 0:02:13 <br clear="none">Wed Sep 29 08:44:15 2021 red 0:00:24 <br clear="none">Wed Sep 29 07:44:36 2021 green 0:59:39 <br clear="none"></div><div>...<br clear="none"></div><br clear="none"><div>anybody know?</div><div><br clear="none"></div><div dir="ltr">cheers</div><div dir="ltr"><br clear="none"></div><div dir="ltr">ian<div id="gmail-m_-2841550732493973455ydp9863caf7yiv0592539819ydpdec3ffa4yiv2484846321yqtfd94683"><br clear="none"></div></div></div></div></div></div></div></div></div>
            </div></div><div id="gmail-m_-2841550732493973455ydp9863caf7yiv0592539819ydpdec3ffa4yahoo_quoted_3853870276">
        </div></div></div></div></div>_______________________________________________<br clear="none">Xymon mailing list<br clear="none"><a shape="rect" href="mailto:Xymon@xymon.com" rel="nofollow" target="_blank">Xymon@xymon.com</a><br clear="none"><a shape="rect" href="http://lists.xymon.com/mailman/listinfo/xymon" rel="nofollow" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><div id="gmail-m_-2841550732493973455ydp9863caf7yqtfd74055"><br clear="none"></div></div>
            </div>
        </div></div><br><br><br>---------- Forwarded message ----------<br>From: Ian Diddams via Xymon <<a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a>><br>To: xymon <<a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a>><br>Cc: <br>Bcc: <br>Date: Wed, 29 Sep 2021 10:18:19 +0000 (UTC)<br>Subject: Re: [Xymon] SMTP checks<br>_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</blockquote></div>