Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: Cosmyn on March 17, 2009, 11:16:21 AM

Title: invalid HELO name on virtual domain
Post by: Cosmyn 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
Title: Re: invalid HELO name on virtual domain
Post by: cactus 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?
Title: Re: invalid HELO name on virtual domain
Post by: Cosmyn 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...
Title: Re: invalid HELO name on virtual domain
Post by: mmccarn 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
Title: Re: invalid HELO name on virtual domain
Post by: janet 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.
Title: Re: invalid HELO name on virtual domain
Post by: thyrsted 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 :-)