Hi, After upgrading to PRTG Network Monitor 22.3.78.1873 my IMAP Roundtrip sensor fails during SMTP with the "Helo command rejected: need fully-qualified hostname" message. The host sending the email has an FQDN setup in Windows settings. Also I have on the sensors settings the "HELO Ident" setup correctly. However when the agent connects it uses the hostname alone without the domain name, ignoring system and sensors settings. How can I resolve this?


Article Comments

We did not change anything directly on the sensor or the mail dispatch, but on the startTLS. Can you please check if the sensor settings match the change? Check the sensor manual for details on the TLS setting https://www.paessler.com/manuals/prtg/smtp_imap_round_trip_sensor

If not, you can open a support ticket at support@paessler.com


Sep, 2022 - Permalink

Setting on sensor are like this: https://i.postimg.cc/B6xnV70Q/imap.png

When executing I get this on postfix logs:

postfix/smtpd[188989]: connect from mx.lighthouse.gr[5.133.183.81]
postfix/smtpd[188989]: Anonymous TLS connection established from mx.lighthouse.gr[5.133.183.81]: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
postfix/smtpd[188989]: NOQUEUE: reject: RCPT from mx.lighthouse.gr[5.133.183.81]: 504 5.5.2 <cronus>: Helo command rejected: need fully-qualified hostname; from=<prtg@lighthouse.gr> to=<t@lighthouse.gr> proto=ESMTP helo=<cronus>
postfix/smtpd[188989]: lost connection after RSET from mx.lighthouse.gr[5.133.183.81]
postfix/smtpd[188989]: disconnect from mx.lighthouse.gr[5.133.183.81] ehlo=2 starttls=1 mail=1 rcpt=0/1 rset=2 commands=6/7

Also email headers are:

Received: from cronus (cronus [5.133.183.81])
     (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))

So HELO is not FQDN. I removed the fqdn check for this host on postfix and message comes through.


Sep, 2022 - Permalink

Thank you for that information I'm glad it works. Usually HELO needs to be the DNS name of the PRTG server.


Sep, 2022 - Permalink