Hi,
I've a domain foobar.com and I'm "out-sourcing" the email of this account to Google Apps for your Domain. Meaning that the MX records of foobar.com point to Google.
user1@foobar.com,
user2@foobar.com,... all login to google apps to view and manage their mail.
I've a linode with Ubuntu 8.04 and after install the hostname was "ubuntu" and the beginning of /etc/hosts file was:
Code:
127.0.0.1 localhost
127.0.1.1 ubuntu ubuntu.linlan
Then I installed Postfix and in the Postfix configuration I set
node-n.foobar.com as my destination (because I want my linde to be called
node-n). I didn't changed hostname.
Then I tested the instalation with the command sendmail. It sent OK and I checked the header of the sent message:
Code:
Received: from ubuntu.linlan (xxxxxx.members.linode.com [xxx.xxx.xxx.xxx])
by mx.google.com with ESMTP id 6si13606729ywp.3.2008.05.05.10.07.59;
Mon, 05 May 2008 10:08:11 -0700 (PDT)
I disliked the "Received: from ubuntu.linlan" because I want it to be
node-n or
node-n.foobar.com.
So I edited /etc/hostname changing it to
node-n and /etc/host changing it to:
Code:
127.0.0.1 localhost
127.0.1.1 node-n node-n
The problem is... the header keeps ubuntu.linlan as hostname/localdomain. Can I get ride of that?
Thanks for your help.