Koozali.org: home of the SME Server

Outgoing mail rejected because HELO string not FQDN

Offline jsheets110

  • *
  • 12
  • +0/-0
Outgoing mail rejected because HELO string not FQDN
« on: October 07, 2010, 09:18:41 PM »
Hello Everyone,
Our mail server has received a poor reputation score and is now having email rejected from some mail servers.  We contacted senderbase and they told us the reason we have a poor reputation is because our HELO string is not our FQDN.  Apparently our HELO/EHLO is responding with domain.com instead of server.domain.com like it is supposed to.  I have looked all over the forums and have been unable to find a way to change the sting.  I saw suggestions to use config setprop smtp HeloHost server.domain.com, but that didn't work.  I am using SME 7.5.1.  Thanks!

Online Stefano

  • *
  • 10,894
  • +3/-0
Re: Outgoing mail rejected because HELO string not FQDN
« Reply #1 on: October 07, 2010, 09:44:54 PM »
Hi

according to this wiki page you have to do
Code: [Select]
config setprop smtpd HeloHost servername.domainname.tld
signal-event email-update

did you miss the signal-event part?

if no, please rise a bug in bugzilla, thank you.. it should work out of the box

Offline jsheets110

  • *
  • 12
  • +0/-0
Re: Outgoing mail rejected because HELO string not FQDN
« Reply #2 on: October 07, 2010, 09:56:20 PM »
Yes, I did do the signal-event email-update as well.  Just to be clear, the HeloHost config should change the "250 domain.com... I am so happy to meet you." message to "250 servername.domain.com... I am so happy to meet you.".  Is that correct?

Online Stefano

  • *
  • 10,894
  • +3/-0
Re: Outgoing mail rejected because HELO string not FQDN
« Reply #3 on: October 07, 2010, 10:30:24 PM »
Yes, I did do the signal-event email-update as well.  Just to be clear, the HeloHost config should change the "250 domain.com... I am so happy to meet you." message to "250 servername.domain.com... I am so happy to meet you.".  Is that correct?

from that page
Quote
SMTP Helo / Ehlo value provided by your server when connecting to external SMTP servers to send email

I think so

please report any issue in bugzilla, thank you

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Outgoing mail rejected because HELO string not FQDN
« Reply #4 on: October 08, 2010, 12:21:53 AM »
Yes, I did do the signal-event email-update as well.  Just to be clear, the HeloHost config should change the "250 domain.com... I am so happy to meet you." message to "250 servername.domain.com... I am so happy to meet you.".  Is that correct?

No, that is not correct. That is the greeting banner for incoming email (produced by qpsmtpd).

The Helo string your upstream does not like is the one qmail (or the qmail authentication proxy) uses when creating outbound smtp connections. It will say "HELO some.domain.name" in response to the 250 greeting from the upstream SMTP server.


Offline jsheets110

  • *
  • 12
  • +0/-0
Re: Outgoing mail rejected because HELO string not FQDN
« Reply #5 on: October 08, 2010, 02:59:08 PM »
If I send a message to a test mail server, the log is showing ours as dispatching HELO domain.com.  It appears that the HeloHost is not changing the HELO string correctly.  Is there anything else that I need to enable for this to work correctly.  If I look in /var/qmail/control/helohost which I think is the file that is supposed to be edited, it has not changed.  I assume if I edit this file manually it will be overwritten.  Any more thought?  I guess I need to send this to the bug tracker.  Thanks!

Online Stefano

  • *
  • 10,894
  • +3/-0
Re: Outgoing mail rejected because HELO string not FQDN
« Reply #6 on: October 08, 2010, 03:03:59 PM »
Any more thought?  I guess I need to send this to the bug tracker

just tested:
Code: [Select]
[root@srvsrv ~]# cat /var/qmail/control/helohost
solinf.org
[root@srvsrv ~]# config setprop smtpd HeloHost pippo.solinf.org
[root@srvsrv ~]# signal-event email-update
[root@srvsrv ~]# cat /var/qmail/control/helohost
pippo.solinf.org
[root@srvsrv ~]# config delprop smtpd HeloHost
[root@srvsrv ~]# signal-event email-update
[root@srvsrv ~]# cat /var/qmail/control/helohost
solinf.org

so.. yes, asap, thank you
« Last Edit: October 08, 2010, 03:12:56 PM by Stefano »

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Outgoing mail rejected because HELO string not FQDN
« Reply #7 on: October 08, 2010, 03:51:33 PM »
I guess I need to send this to the bug tracker.

You've already been asked to do that if it doesn't "just work".