Page 1 of 1

exim header 220 localhost.localdomain.localdomain ESMTP Exim

Posted: Tue Dec 05, 2017 5:56 am
by phez
Hi team,

I have a new VestaCP install on Centos7. Doing some email checks using mailtoolbox.com I can see the following:

Connecting to 104.225.220.88<br /> <br /> 220 localhost.localdomain.localdomain ESMTP Exim 4.89 Tue, 05 Dec 2017 13:20:51 +1100 [5604 ms]<br /> EHLO PWS3.mxtoolbox.com<br /> 250-localhost.localdomain.localdomain Hello pws3.mxtoolbox.com [64.20.227.134]<br /> 250-SIZE 52428800<br /> 250-8BITMIME<br /> 250-PIPELINING<br /> 250-AUTH PLAIN LOGIN<br /> 250-CHUNKING<br /> 250-STARTTLS<br /> 250 HELP [607 ms]<br /> MAIL FROM:<[email protected]><br /> 250 OK [607 ms]<br /> RCPT TO:<[email protected]><br /> 550 relay not permitted [820 ms]<br /> <br />PWS3v2 8177ms<br />

I was able to change "localhost.localdomain.localdomain" via editing

etc/hostname

But the question I have is that correct? and what happens to my other domains I have hosted?

e.g.
abc.com
def.net
ghi.org

I understood that I should also list them in the EXIM email header in order for them to pass spam tests as well. I only have 1 IP address. If I look at etc/hosts I can see:


127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

Which is what I thought should be controlling the EXIM header?

Should I not have a etc/hosts file that looks like:

104.225.220.88 abc.com
104.225.220.88 def.net
104.225.220.88 ghi.org

?