View Single Post
  #11  
Old 2nd July 2009, 23:35
digitalage digitalage is offline
Junior Member
 
Join Date: Jun 2009
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't know if you noticed, just to make sure I'll tell you that I used different names for the name of the host and the name of the email server, such as this:


# cat /etc/hosts
Code:
127.0.0.1       localhost.localdomain          localhost
127.0.1.1       hostname.myprovider.com        hostname
Relevant Postfix config:
# postconf -n
Code:
...
append_dot_mydomain = no
...
inet_interfaces = all
...
mydestination = server.mydomain.com, localhost, localhost.localdomain
myhostname = server.mydomain.com
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
...
relayhost =
...
# cat /etc/mailname
Code:
server.mydomain.com
Please notice the name server.mydomain.com versus hostname.myprovider.com.

server.mydomain.com is registered in my DNS - if I ping from outside, it resolves fine. hostname.myprovider.com is not registered in my DNS but it resolves because it's in my provider's DNS. There should be no reason why it wouldn't work this setup. Correct me if I'm wrong.
Reply With Quote
Sponsored Links