reckless2k2,
With this newly working setup of mail.server1.com and mail.server2.com on 1 zimbra server installation - when you send an email from
user@mail.server2.com , is it actually being sent by the server2.com domain or in the header of the email still says
Received: from ... server1.com ... ?
Here is my problem:
I have 2 IP addresses specified for the 2 domains (mail.server1.com and mail.server2.com) on one zimbra installation on the server.
The second IP address was added to the /etc/network/interfaces after the mail.server1.com was fully working with Zimbra.
I created the new domain entry for mail.server2.com in Zimbra and set up the virtual hosts in both mail.server1.com and mail.server2.com so the users can log in with user names only.
(example:
user@mail.server2.com can just go to
http://mail.server2.com and log in simply using "user" as name and his passord. Also,
user@mail.server1.com can go to
http://mail.server1.com and log in as "user" with his password /which is different from
user@mail.server2.com/).
However, when
user@mail.server2.com sends an email, the header of the email contains the IP address of mail.server1.com and the name mail.server1.com instead server2.com.
The header of the email sent by
user@mail.server2.com :
...
From: user <
user@mail.server2.com >
Date: Sun, 8 Apr 2007 13:51:58 -0700 (PDT)
Received: from mail.server1.com (mail.server1.com [xx.xx.xx.xx])
by mail.server1.com (Postfix) with ESMTP id 3FF291C208
for <
target@emailsomewhere.com >; Sun, 8 Apr 2007 13:51:59 -0700 (PDT)
.
.
.
How can we fix this? both the server name/ip address should come from the server the sender user account is created on.