Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I fix "501 Syntactically invalid HELO argument(s)"?

Tags:

email

exim

I'm using exim on both the sending and relay hosts, the sending host seems to offer:

HELO foo_bar.example.com

Response:

501 Syntactically invalid HELO argument(s)
like image 321
Ranguard Avatar asked Sep 17 '08 19:09

Ranguard


2 Answers

Possibly a problem with underscores in the hostname? http://www.exim.org/lurker/message/20041124.113314.c44c83b2.en.html

like image 66
benefactual Avatar answered Sep 23 '22 01:09

benefactual


Underscores aren't actually valid in internet host names, despite some people using them anyway. A sane DNS server should not allow you to have records for them.

Change your system's host name so it's valid, hopefully this will fix it.

like image 23
MarkR Avatar answered Sep 23 '22 01:09

MarkR