Page 1 of 2
Can not Send email - 550 Access denied - Invalid HELO name
Posted: Tue Jul 08, 2014 7:41 am
by xminali
Hi,
I'm trying to send out emails from Vesta/Roundcube but I keep on having an error message.
This message was created automatically by mail delivery software.
Error message
-----------------------------------
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:
[email protected]
SMTP error from remote mail server after MAIL FROM:<
[email protected]> SIZE=1732:
host xxxxx.org [119.81.xx.xx]: 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1)
---------------------------------
I tried to look for an answer on other forums but their all about Outlook.
Any help would be appreciated please.
Thanks
Re: Can not Send email - 550 Access denied - Invalid HELO na
Posted: Tue Jul 08, 2014 7:11 pm
by imperio
Hi,
show me result of this command
Re: Can not Send email - 550 Access denied - Invalid HELO name
Posted: Mon Nov 27, 2017 6:22 pm
by esteban
Hi all.
I am new to Vesta CP and I am performing my first installation (Centos 7).
I have the same problem: I am able to receive emails but unable to send. I got almost the same error message:
Failed to set sender "
[email protected]" (Access denied - Invalid HELO name (See RFC2821 4.1.3)).
When running the hostname command, the reply is: panel.mydomain.com
I have googled but have not been able to fix this. Can anyone please help me out?
Thanks in advance.
Re: Can not Send email - 550 Access denied - Invalid HELO name
Posted: Mon Nov 27, 2017 6:39 pm
by esteban
I just found the answer here:
viewtopic.php?t=7410
Access denied - Invalid HELO name (See RFC2821 4.1.3)
Edit
vi /etc/exim4/exim4.conf.template
Comments lines
# drop condition = ${if isip{$sender_helo_name}}
# message = Access denied - Invalid HELO name (See RFC2821 4.1.3)
/etc/init.d/exim4 restart
As my server is running Centos, had to restart with
Worked as a charm ;)
Re: Can not Send email - 550 Access denied - Invalid HELO name
Posted: Thu Feb 08, 2018 8:16 pm
by jordan.vrtanoski
I experienced the same error message. After little investigation I have found that the user was logging in to the web mail client (Roundcube) trough the IP address of the mail server instead of logging in trough the DNS name. In such case, roundcube is sending the IP address as part of sender name in the HELO message. After the user logged in from the DNS, the problem had disappeared.
Re: Can not Send email - 550 Access denied - Invalid HELO name
Posted: Thu May 24, 2018 3:29 pm
by osc2nuke
I experienced the same error message. After little investigation I have found that the user was logging in to the web mail client (Roundcube) trough the IP address of the mail server instead of logging in trough the DNS name. In such case, roundcube is sending the IP address as part of sender name in the HELO message. After the user logged in from the DNS, the problem had disappeared.
That's the only good answer!
Re: Can not Send email - 550 Access denied - Invalid HELO name
Posted: Fri Jun 22, 2018 6:02 pm
by danielz
Try comment this in your EXIM.conf
######################################################################
# TRANSPORTS CONFIGURATION #
######################################################################
begin transports
remote_smtp:
driver = smtp
#helo_data = $sender_address_domain
Re: Can not Send email - 550 Access denied - Invalid HELO name
Posted: Sun Aug 26, 2018 10:35 pm
by ivansmo
jordan.vrtanoski wrote: ↑Thu Feb 08, 2018 8:16 pm
I experienced the same error message. After little investigation I have found that the user was logging in to the web mail client (Roundcube) trough the IP address of the mail server instead of logging in trough the DNS name. In such case, roundcube is sending the IP address as part of sender name in the HELO message. After the user logged in from the DNS, the problem had disappeared.
This is my first post on this forum. I'm playing with CentOS7 for a while, and found out that Vesta CP is a best solution for me. Great support and easy to navigate and do stuff. I have been reading forum in a past few days and just now I had this problem. Finding solution here I just had to register and say thanks.
:D
Re: Can not Send email - 550 Access denied - Invalid HELO name
Posted: Tue Aug 28, 2018 10:55 pm
by ivansmo
esteban wrote: ↑Mon Nov 27, 2017 6:39 pm
I just found the answer here:
viewtopic.php?t=7410
Access denied - Invalid HELO name (See RFC2821 4.1.3)
Edit
vi /etc/exim4/exim4.conf.template
Comments lines
# drop condition = ${if isip{$sender_helo_name}}
# message = Access denied - Invalid HELO name (See RFC2821 4.1.3)
/etc/init.d/exim4 restart
As my server is running Centos, had to restart with
Worked as a charm ;)
Try this method I'm using
Edit /exim.conf and find these lines
Code: Select all
######################################################################
# TRANSPORTS CONFIGURATION #
######################################################################
begin transports
remote_smtp:
driver = smtp
#helo_data = $sender_address_domain
dkim_domain = DKIM_DOMAIN
dkim_selector = mail
dkim_private_key = DKIM_PRIVATE_KEY
dkim_canon = relaxed
dkim_strict = 0
helo_data = hostname
Change hostname to your real CentOS hostname
EDIT: Now I see mine don't work with hostname (it is different than top level name domain). If that is your case, just write top level domain instead of hostname
Re: Can not Send email - 550 Access denied - Invalid HELO name
Posted: Thu Jan 03, 2019 6:25 am
by xayan123
esteban wrote: ↑Mon Nov 27, 2017 6:39 pm
I just found the answer here:
viewtopic.php?t=7410
Access denied - Invalid HELO name (See RFC2821 4.1.3)
Edit
vi /etc/exim4/exim4.conf.template
Comments lines
# drop condition = ${if isip{$sender_helo_name}}
# message = Access denied - Invalid HELO name (See RFC2821 4.1.3)
/etc/init.d/exim4 restart
As my server is running Centos, had to restart with
Worked as a charm ;)
This worked like a charm for me too. Kudos man!