Koozali.org: home of the SME Server

invalid HELO name on virtual domain

Offline Cosmyn

  • *
  • 12
  • +0/-0
invalid HELO name on virtual domain
« on: March 17, 2009, 11:16:21 AM »
Hi,

I have SME setup as domain controller and my primary domain is called intranet which is resolved locally.
I have setup a virtual domain for "my.domain" which is resolved at ISP (because www is on their server and mail is on mine - and DNS records are properly setup by ISP) but when i try to send emails i get a delivery report with "Error 550 Invalid HELO name" and "Error 501 5.7.1 Sender IP must resolve".
When i connect with telnet on port 25 it state "x.intranet" instead of "my.domain" how can I change that?

Thank you

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: invalid HELO name on virtual domain
« Reply #1 on: March 17, 2009, 12:10:09 PM »
Hi,

I have SME setup as domain controller and my primary domain is called intranet which is resolved locally.
I have setup a virtual domain for "my.domain" which is resolved at ISP (because www is on their server and mail is on mine - and DNS records are properly setup by ISP) but when i try to send emails i get a delivery report with "Error 550 Invalid HELO name" and "Error 501 5.7.1 Sender IP must resolve".
When i connect with telnet on port 25 it state "x.intranet" instead of "my.domain" how can I change that?

Thank you
Why not run the domain you need as external domain as the primary domain? All your problems should be solved by configuring like that?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Cosmyn

  • *
  • 12
  • +0/-0
Re: invalid HELO name on virtual domain
« Reply #2 on: March 17, 2009, 01:07:05 PM »
1) How can I change that without affecting users? I mean they are added to the intranet network when joining domain.
2) This will not resolve the issue: it is just a workaround since i don`t really need 2 domains...

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: invalid HELO name on virtual domain
« Reply #3 on: March 17, 2009, 01:51:55 PM »
The qpsmtpd greeting offered to incoming smtp connections can be changed with
Code: [Select]
config setprop smtpd Greeting my.domain
signal-event email-update

The qmail value for Helo / Ehlo that is used when your SME delivers email to external mail servers can be set using
Code: [Select]
config setprop smtpd HeloHost my.domain
signal-event email-update

I have added these two settings to the wiki at http://wiki.contribs.org/DB_Variables_Configuration#smtpd

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: invalid HELO name on virtual domain
« Reply #4 on: March 17, 2009, 01:52:33 PM »
Cosmyn

Your domain name as in Domain Controller is different to your domain name as in web domain FQDN

You can change the domain name for web purposes without affecting users on the domain controller.

I agree you should change the "web" domain name of your server to match your external domain name.
External requests for your www domain will not resolve to your server as external DNS is not configured to do that, BUT internal requests will resolve to your server eg for mail etc, which is what you want.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline thyrsted

  • *
  • 17
  • +0/-0
Re: invalid HELO name on virtual domain
« Reply #5 on: May 18, 2009, 10:08:44 AM »
Cosmyn

Your domain name as in Domain Controller is different to your domain name as in web domain FQDN

You can change the domain name for web purposes without affecting users on the domain controller.

I agree you should change the "web" domain name of your server to match your external domain name.
External requests for your www domain will not resolve to your server as external DNS is not configured to do that, BUT internal requests will resolve to your server eg for mail etc, which is what you want.

Well..
I see the potential need for using "config getprop smtpd HeloHost <any_msg>".

In my case i do not have my domains administered by my ISP.
Even though my IP is static, it's registered as part of an 'evil-axis-of-dial-up-IPs' in spamhaus.
My ISP(a) is cable - wich is _very_ stable - but they connect via an other large ISP(b).
Neither is interested/understand the problems when sending mails.

Now..
Because of the spamhaus-registration-hitch, i need to relay through a mail-relay at ISP(b).
However..
For some "#ยค%&/! reason this mail-relay server vill not accept mails from my server if it - correctly - identifies itself as <mydomain.tld>

Changing <mydomain.tld> to <mydomain.local> does "the trick".

Thank you for this "config getprop smtpd HeloHost <any_msg>" entry .
It saved my day :-)
...