Change IP address instead of Hostname in Email Header (exim)

Tony_NT

Registered
Jan 15, 2016
4
0
1
Singapore
cPanel Access Level
Root Administrator
Is there anyway to change Ip Address Instead of Hostname in Email Header.

Eg.
Code:
Server Host Name = cp.domain1.com
Server Static Ip = 1.1.1.1

Received: from [::1] (port=33247 helo=doamin1.com)
by cp.doamin1.com with esmtpa (Exim 4.86)
xxxxxxxx
X-AntiAbuse: Primary Hostname - cp.doamin1.com
X-AntiAbuse: Original Domain - gmail.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - doamin2.com
X-Get-Message-Sender-Via: cp.doamin1.com: authenticated_id: [email protected]
X-Authenticated-Sender: cp.doamin1.com: [email protected]
Change To

Code:
Received: from [::1] (port=33247 helo=doamin1.com)
by 1.1.1.1 with esmtpa (Exim 4.86)
xxxxxxxx
X-AntiAbuse: Primary Hostname - 1.1.1.1
X-AntiAbuse: Original Domain - gmail.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - doamin2.com
X-Get-Message-Sender-Via: 1.1.1.1: authenticated_id: [email protected]
X-Authenticated-Sender: 1.1.1.1: [email protected]
Anyone out there know how to change.

Thanks
 
Last edited by a moderator:

Tony_NT

Registered
Jan 15, 2016
4
0
1
Singapore
cPanel Access Level
Root Administrator
Thanks for your answer.

I want to change IP address instead of Hostname in Email Header.

by cp.doamin1.com with esmtpa (Exim 4.86)

To

by 1.1.1.1 with esmtpa (Exim 4.86)

and

X-AntiAbuse: Primary Hostname - cp.doamin1.com

To

X-AntiAbuse: Primary Hostname - 1.1.1.1

Thanks,
 

Tony_NT

Registered
Jan 15, 2016
4
0
1
Singapore
cPanel Access Level
Root Administrator
If its not able to change, is it possible to remove below in email header

Code:
Received: from [::1] (port=50537 helo=x.x.x.x)
    by cp.domain1.com with esmtpa (Exim 4.86)
    (envelope-from <[email protected]>)
    id xxxx-xxxxxx-xx
    for [EMAIL][email protected][/EMAIL]; Mon, 18 Jan 2016 18:54:56 +0800
someone anyone please respond. I do appreciate it

Thanks,
Tony
 
Last edited by a moderator:

Tony_NT

Registered
Jan 15, 2016
4
0
1
Singapore
cPanel Access Level
Root Administrator
Thanks for your reply,

There are many sites in a server but the server name should not be shown in the email header according to the business requirement.

now I'm able to remove X-AntiAbuse: [hostname] which are included in the mail header.

So, there is only hostname left to remove / change to IP in the email header.

Received: from [::1] (port=50537 helo=x.x.x.x)
by cp.domain1.com with esmtpa (Exim 4.86)
(envelope-from <[email protected]>)
id xxxx-xxxxxx-xx
for [email protected]; Mon, 18 Jan 2016 18:54:56 +0800


Kindly suggest as urgent.

Thanks
 

Infopro

Well-Known Member
May 20, 2003
17,107
515
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
the server name should not be shown in the email header according to the business requirement.
I'm still confused. What is the meaning of that business requirement?
If you receive an email from gmail for example, it shows this:

Code:
Received: from mail-ig0-x248.google.com (mail-ig0-x248.google.com. [2607:f8b0:4001:c05::248])
        by mx.google.com with ESMTPS id 23si2794116oc.165.2016.01.18.0.31.25