Page 1 of 1

not sending email

Posted: Thu Dec 04, 2014 2:53 pm
by bigdrop
Hello,
this could be a million time asked question but I didn't find my answer yet.

I'm running a VPS on Digital Ocean with CentOS 6.5 x64

I use VestaCP, I have only one domain and one subdomain on server.

My problem is that I have created email addresses for my domain and I receive mails normal but I cannot send emails to everyone. Most of the mails I try to send I get a failure reply...
"Mail delivery failed: returning message to sender"

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

info@*********.gr
SMTP error from remote mail server after MAIL FROM:<info@*********.gr> SIZE=2029:
host ************.gr [**.***.***.**]: 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1)



Thank you in advance!!

Re: not sending email

Posted: Wed Jan 21, 2015 2:10 am
by michaelphan
I have the same problem.
Please help

Re: not sending email

Posted: Wed Jan 21, 2015 6:16 am
by joem
michaelphan wrote:I have the same problem.
Please help
This may help you, https://www.040support.nl/client/knowle ... -4111.html

Re: not sending email

Posted: Wed Jan 21, 2015 6:22 am
by Joop
Maybe your ip is blacklisted. You could check that on spamhaus

Re: not sending email

Posted: Fri Jan 23, 2015 4:05 pm
by mxroute
The error is invalid HELO name. When your server connects to another to deliver e-mail, it states it's name in a greeting. That name is expected to be a fully qualified domain name which then has a matching DNS record to the connecting IP.

Open up Exim configuration file. This could be /etc/exim/exim.conf or /etc/exim4/exim4.conf. Scroll down until you see "TRANSPORTS CONFIGURATION."

Now, right below that is a section named remote_smtp. Anywhere in that, add a line like this, replacing "mx1.mxroute.com" with the one you want to use:

helo_data = mx1.mxroute.com

Now, make sure that what you put there has a matching A record in your DNS so that the transaction can reliable complete with all servers. Reload exim config or restart the service, you should be good to go.

Re: not sending email

Posted: Sun Aug 26, 2018 11:26 pm
by ivansmo
mxroute wrote:
Fri Jan 23, 2015 4:05 pm
The error is invalid HELO name. When your server connects to another to deliver e-mail, it states it's name in a greeting. That name is expected to be a fully qualified domain name which then has a matching DNS record to the connecting IP.

Open up Exim configuration file. This could be /etc/exim/exim.conf or /etc/exim4/exim4.conf. Scroll down until you see "TRANSPORTS CONFIGURATION."

Now, right below that is a section named remote_smtp. Anywhere in that, add a line like this, replacing "mx1.mxroute.com" with the one you want to use:

helo_data = mx1.mxroute.com

Now, make sure that what you put there has a matching A record in your DNS so that the transaction can reliable complete with all servers. Reload exim config or restart the service, you should be good to go.
AWESOME ... this works great. I could send email to Gmail, but not to my business email. Getting this msg (Invalid HELO name (See RFC2821 4.1.1.1)). Now, with this update in EXIM I can send email without trouble...