change default server name in email headers

irdeveloper

Member
Mar 12, 2013
6
0
1
cPanel Access Level
Root Administrator
Hi guys

I like to know that is it possible to change the default server name ?
Or just changing it in email headers ?

When i'm sending some emails from my server ,
In the email headers , The server name will be appear like this :
static.238.89.63.178.clients.your-server.de

Example :
Received: from static.238.89.63.178.clients.your-server.de (static.238.89.63.178.clients.your-server.de. [178.63.89.238])
by mx.google.com with ESMTPS id ew4si8124349lbb.35.2013.03.12.09.56.58
(version=TLSv1 cipher=RC4-SHA bits=128/128);
Tue, 12 Mar 2013 09:57:01 -0700 (PDT)

How can i change it ? I sent this sample email from a hosted domain in CPanel
([email protected])

Full email headers :
Code:
Delivered-To: [email protected]
Received: by 10.68.132.66 with SMTP id os2csp127601pbb;
Tue, 12 Mar 2013 09:57:02 -0700 (PDT)
X-Received: by 10.152.147.130 with SMTP id tk2mr14681521lab.24.1363107421468;
Tue, 12 Mar 2013 09:57:01 -0700 (PDT)
Return-Path: <[email protected]>
Received: from static.238.89.63.178.clients.your-server.de (static.238.89.63.178.clients.your-server.de. [178.63.89.238])
by mx.google.com with ESMTPS id ew4si8124349lbb.35.2013.03.12.09.56.58
(version=TLSv1 cipher=RC4-SHA bits=128/128);
Tue, 12 Mar 2013 09:57:01 -0700 (PDT)
Received-SPF: pass (google.com: domain of [email protected] designates 178.63.89.238 as permitted sender) client-ip=178.63.89.238;
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of [email protected] designates 178.63.89.238 as permitted sender) [email protected];
dkim=pass [email protected]
Date: Tue, 12 Mar 2013 09:57:01 -0700 (PDT)
Message-Id: <513f5e5d.4464700a.[email protected]>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=pfarsi.com; s=default;
h=Subject:To:From:MIME-Version; bh=3ZTQDSPFs5Dbfhy/jEU12DyuzBKIXa5tk4aavDNvJqU=;
b=Y/i15LEn1DQ4RirF6Jd542g1Zp+0GGH83kRcuml02ILCYkMem6Se/h9oGR/lZ+wDtzFxYydutmaGUh/f7P3CmFy5eLxOj9E0eIau6t3OmED7rnLkcu5wdMXF+hAoeKLzRQVeZKJLEurHkdMmfYzN1DlQxIiAeU/w6Thjb3XcYic=;
Received: from static.238.89.63.178.clients.your-server.de ([178.63.89.238]:56489 helo=email.domain.com)
by static.238.89.63.178.clients.your-server.de with esmtpa (Exim 4.80)
(envelope-from <[email protected]>)
id 1UFSnK-00021Y-A3
for [email protected]; Tue, 12 Mar 2013 20:15:22 +0300
MIME-Version: 1.0
From: [email protected]
To: [email protected]
Subject: Test message from Roundcube
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - static.238.89.63.178.clients.your-server.de
X-AntiAbuse: Original Domain - gmail.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - domain.com
X-Get-Message-Sender-Via: static.238.89.63.178.clients.your-server.de: authenticated_id: [email protected]
This is a test to confirm that Roundcube can send email.

Thank you :)
 
Last edited by a moderator:

NixTree

Well-Known Member
Aug 19, 2010
413
5
143
Gods Own Country
cPanel Access Level
Root Administrator
Twitter
I can see that there is no rDNS is setup for your IP.

=======
;; QUESTION SECTION:
;238.89.63.178.in-addr.arpa. IN PTR

;; ANSWER SECTION:
238.89.63.178.in-addr.arpa. 86400 IN PTR static.238.89.63.178.clients.your-server.de.
=========

Also the HOSTNAME set isn't correct, unless you expected to set itlike that explicitly ( I know some providers set the hostbame to the reverse entry of the main IP by default ).

=======
$ telnet 178.63.89.238 25
Trying 178.63.89.238...
Connected to 178.63.89.238.
Escape character is '^]'.
220-static.238.89.63.178.clients.your-server.de ESMTP Exim 4.80 #2 Thu, 14 Mar 2013 08:19:29 +0330
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
======

So I suggest you to contact your server provider and,

1. Set a valid HOSTNAME to the servr ( like server1.yourdomain.com ).

2. Set rDNS of your IP to the server HOSTNAME ( your server support can easily get what these all mean, if they are good enough :) )