View Single Post
  #4  
Old 4th January 2008, 12:13
bas bas is offline
Junior Member
 
Join Date: Jan 2008
Location: Amsterdam
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Default thanks - no succes yet

thanks for your quick response.

I have unquoted the line in main.cf (the mydestination)

checked the hosts file. Both localhost and the ipnr are linked to mail.q#####.com, localhost.q#####.com, localhost

and hostname returns mail.q#####.com,
hostname -f returns localhost


Still the log now complains that the host or domain is not found. Name service error for name=mail.q#####.com type=MX: host not found)

I should add that at this moment the machine is not connected to the internet - as that domain on the internet would still point to my old server. But i think that in this case the hosts file should be sufficient

thanks very much for the help already
Bas

Quote:
Originally Posted by till
Please uncomment the line
mydestination = mail.q#####.com, localhost.q#####.com, localhost

in main.cf and restart postfix. then make sure that /etc/mailname contains the correct hostname (mail.q#####.com) and that this hostname is returned when you execute the commands:

hostname
hostname -f

Then make sure that you have a line for mail.q#####.com in /etc/hosts that points to the IP of the server.
Reply With Quote