Koozali.org: home of the SME Server

Broken SMTP - Invalid HELO

agentblueuk

Broken SMTP - Invalid HELO
« on: July 31, 2006, 01:12:55 PM »
The config of the mailserver is invalid, it sends a hello of {primary_domain} not {servername}.{primary_domain}

e.g

helo pleasance.co.uk

rather than the correct

helo mailfish.pleasance.co.uk


There is no reason to send helo of the domain as it is an invalid helo unless you happen to have the an A record for your domain pointing to your SME box, where as you have to have an A record for {servername}. {primary_domain} to get it to work at alll

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Broken SMTP - Invalid HELO
« Reply #1 on: July 31, 2006, 08:27:09 PM »
Quote from: "agentblueuk"
The config of the mailserver is invalid, it sends a hello of {primary_domain} not {servername}.{primary_domain}


That's not invalid. See this discussion here:

http://bugs.contribs.org/show_bug.cgi?id=1325

then add the A record for your domain, or use a custom template.

In future, please report anything which you think is broken via the Bug Tracker.

agentblueuk

Broken SMTP - Invalid HELO
« Reply #2 on: July 31, 2006, 11:06:04 PM »
This is not talking about the same thing

The link you sent refers to the welcome banner that an SMTP server sends when it is ready to *recieve* mail, what i am talking about is the SMTP HELO which is when a SMTP client announces what it's hostname is before sending mail to a remote SMTP server

http://www.ietf.org/rfc/rfc0821.txt
   3.5.  OPENING AND CLOSING

      At the time the transmission channel is opened there is an
      exchange to ensure that the hosts are communicating with the hosts
      they think they are.

      The following two commands are used in transmission channel
      opening and closing:

         HELO <SP> <domain> <CRLF>

         QUIT <CRLF>

      In the HELO command the host sending the command identifies
      itself; the command may be interpreted as saying "Hello, I am
      <domain>".

The domain is not a domain as we know it, but the domain of the host, bearing in mind that this was on the basis of everyone having my-shell-login@server1.mynetwork.com and not the current system of having MX records so you can have me@foo.com

See  sample below of the HELOs sent to my server recently

amrmr1003.accenture.com
anchor-dslmax-1.www.demon.net
anchor-fallback-94.mail.demon.net
anchor-post-32.mail.demon.net
anchor-post-36.mail.demon.net
antispam.teachfirst.org.uk
ash.edin.org
asscm9-adsl.demon.co.uk
assureconsulting.com
bay0-omc1-s14.bay0.hotmail.com
bay0-omc1-s19.bay0.hotmail.com
bay0-omc1-s1.bay0.hotmail.com
bay0-omc1-s22.bay0.hotmail.com
bay0-omc1-s30.bay0.hotmail.com
bay0-omc1-s7.bay0.hotmail.com
bay0-omc1-s8.bay0.hotmail.com
bay0-omc1-s9.bay0.hotmail.com
bay0-omc2-s19.bay0.hotmail.com
bay0-omc2-s26.bay0.hotmail.com
bay0-omc2-s29.bay0.hotmail.com
bay0-omc2-s33.bay0.hotmail.com
bay0-omc2-s37.bay0.hotmail.com
bay0-omc2-s7.bay0.hotmail.com
bay0-omc2-s9.bay0.hotmail.com
bay0-omc3-s12.bay0.hotmail.com
bay0-omc3-s23.bay0.hotmail.com
bay0-omc3-s27.bay0.hotmail.com
bay0-omc3-s28.bay0.hotmail.com
bay0-omc3-s36.bay0.hotmail.com
bay0-omc3-s6.bay0.hotmail.com
bay0-omc3-s7.bay0.hotmail.com
bham-mx2.bham.ac.uk

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Broken SMTP - Invalid HELO
« Reply #3 on: August 01, 2006, 12:12:08 AM »
Quote from: "agentblueuk"
This is not talking about the same thing


OK.

Now please read the rest of my message.

agentblueuk

Broken SMTP - Invalid HELO
« Reply #4 on: August 01, 2006, 12:46:51 AM »

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Broken SMTP - Invalid HELO
« Reply #5 on: August 01, 2006, 12:53:11 AM »
Quote from: "agentblueuk"
http://bugs.contribs.org/show_bug.cgi?id=1790


Thanks.