Xymon Mailing List Archive search

554 SMTP synchronization error

list Kolbjørn Barmen
Wed, 17 May 2006 15:17:36 +0200 (CEST)
Message-Id: <user-c8b6d9e134e6@xymon.invalid>

On Wed, 17 May 2006, Dominique Frise wrote:
Hi all,

Maybe this has been discussed already but I can't find any relevant info.
All our smtp tests sporadically report similar error:

yellow  Wed May 17 14:37:21 2006 smtp NOT ok

Service smtp on mailc is not OK : Unexpected service response


554 SMTP synchronization error..

Seconds: 0.00

How can we avoid this?
I made my own SMTP-tester (to test MX for certain domains, not SMTP on
certain hosts) and there I met this problem. My test is as follows

MXTEST=$((sleep 1 ; echo quit) | nc -w 1 ${MXHOST} 25) || MXCOLOR="red"

Without the sleep, some microsoft servers refused to repond 220, and
without the -w 1 for netcat, some exim servers reponded with the above
554. (IIRC, it might have been the other way around)

I dont really understand why the sleep make any difference, but somehow it
does.

-- 
Kolbjørn Barmen
UNINETT Driftsenter