EXIM using old hostname for HELO

خرید بک لینک

Yesterday, 04:06 AM #1

Hello,

I am having a problem with Exim. I recently changed my hostname from server1.olddomain.com to server.newdomain.com within the DirectAdmin Admin Panel. Everything is working correctly following the change. I am using SPF and DKIM and have no issues with that either.

However, when I send any emails, the HELO is incorrect when viewing the original message and is still using the old hostname:

Code:

Received: from [::1] (helo=server1.olddomain) by server.newdomain.com with esmtpa (Exim 4.87)
I have changed primary_hostname to primary_hostname = server.newdomain.com in etc/exim.conf (and removed the # so it is not a comment).

Where is Exim getting the information for HELO from? Does anyone know how I can fix this?


Yesterday, 09:01 AM #2

The ::1 looks to be pointing to ipv6.

Check your hostname by SSH and /etc/hosts if it's correct there.

Greetings, Richard.


Yesterday, 10:43 AM #3

Thanks for the reply Richard.

I checked and it looks like this, which I am assuming looks correct as it has the new domain there:

Code:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost localhost4.localdomain4 localhost4
# Auto-generated hostname. Please do not remove this comment.
199.180.131.3 server.newddomain.com server
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

Yesterday, 03:44 PM #4

You're welcome Biv.

As for the hosts file, no it doesn't look correct.
I've read somewhere on the forums that only 127.0.0.1 should be named localhost and/or localhost.localdomain.
You should remove the localhost and localhost.localdomain statements from the ::1 line because that will give issues with Exim.

Ah... found it here:
http://forum.directadmin.com/showthread.php?t=53299

Greetings, Richard.


Yesterday, 10:43 PM #5

Hmm, I made those changes in /etc/hosts and it just changed ::1 to 127.0.0.1 in the Received from of the email, and the old hostname is still in there:

Before:

Code:

Received: from [::1] (helo=server1.olddomain) by server.newdomain.com with esmtpa (Exim 4.87)
After:

Code:

Received: from [127.0.0.1] (helo=server1.olddomain.com) by server.newddomain.com with esmtpa (Exim 4.87)
Any other ideas?

DirectAdmin Forums...

ما را در سایت DirectAdmin Forums دنبال می‌کنید

برچسب: نویسنده: ایمان اصلاحی بازدید: 311 تاريخ: پنجشنبه 16 آذر 1396 ساعت: 3:57

صفحه بندی