Microsoft
Software
Hardware
Network
Question : Postfix Virtual Domains setup
Hi
I am configuring postfix server to send mail for 8 differnet domains. I configured it using virtual_alias_domains and virtual_alias_maps parameters. I am able to send mail as FROM any of these 8 domains.
I am facing issue with the header of mail being sent from any of the virtual domain, please refer to the header of one of the mail as below:
Please refer to the 7th line in the header:
"Received: from CentOS52.localdomain ([
])"
CentOS52.localdomain is the hostname of the system postfix is hosted on.
If I am sending from domain tmails.com then why is it showing hostname "CentOS52.localdomain " in the header, is there any way to replace hostname in the header with the domain name.
like if I am sending mail as
[email protected]
then it should show in header at 7th line:
"Received: from tmails.com ([
])"
and if the second virtual domain configured in my postfix is "xmails" and if I am sending mail as
[email protected]
then it should show in header at 7th line:
"Received: from xmails.com ([
])"
Header:
Delivered-To:
[email protected]
Received: by 10.220.74.19 with SMTP id s19cs55809vcj;
Wed, 10 Jun 2009 11:33:24 -0700 (PDT)
Received: by 10.142.232.7 with SMTP id e7mr637135wfh.164.12446588
04206;
Wed, 10 Jun 2009 11:33:24 -0700 (PDT)
Return-Path:
Received: from CentOS52.localdomain ([
])
by mx.google.com with SMTP id 3si1551335pzk.134.2009.06.
10.11.33.2
2;
Wed, 10 Jun 2009 11:33:23 -0700 (PDT)
Received-SPF: fail (google.com: domain of
[email protected]
does not designate
as permitted sender) client-ip=
;
Authentication-Results: mx.google.com; spf=hardfail (google.com: domain of
[email protected]
does not designate
as permitted sender)
[email protected]
om
Received: from indiaws145 (unknown [192.168.2.72])
by CentOS52.localdomain (Postfix) with SMTP id CD778781E5
for
; Thu, 11 Jun 2009 00:03:19 +0530 (IST)
Message-ID: <6A5120BB1FEC46B9AA851EA2D
C295A62@ra
pidcorp.co
m>
Reply-To: "Ashwani Jain"
From: "Ashwani Jain"
To:
Subject: Test-5
Date: Thu, 11 Jun 2009 00:03:14 +0530
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_0
00_005D_01
C9EA28.03C
C93A0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
This is a multi-part message in MIME format.
------=_NextPart_000_005D_
01C9EA28.0
3CC93A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding:
quoted-printable
hi!
------=_NextPart_000_005D_
01C9EA28.0
3CC93A0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding:
quoted-printable
charset=3Diso-8859-1">
hi!
<
/BODY>ML>
------=_NextPart_000_005D_
01C9EA28.0
3CC93A0--
Answer : Postfix Virtual Domains setup
Just set different smtp_helo_name in configuration files for each instance.
Random Solutions
will https pages rank lower in seo than http pages
2008 DNS
Two Computers Will Not Connect To Internet When Both Are Connected To Speedstream 6520 Modem/Router
Sharing broadband internet with a hub?
Get IP addresses
why does Exhg svr 5.5 not accepting e-mails from some domain?
Distribution Groups audit
Creating a DHCP Superscope to extend the number of avaialble addresses
Oracle Portal - Error WWV-17050 - Failed to parse..
Best Device To Split 3mb WAN to 2 Routers