Hostname - Domain -Mail help

4 posts / 0 new
Last post
#1 Tue, 10/12/2010 - 15:21
arkestler

Hostname - Domain -Mail help

So I have installed Virtualmin GPL and have everything running. I have about 20 domains with mail working. My problem is that since I set up the box as prod-01.mydomain.local some email servers won't accept mail coming from my server as there are obviously no mx records for .local, so I want to change my server name to prod-01.mydomain.com. What steps do I need to take to do this as to not break the mail services for the 20 some domains on this box?

Thanks,

Andrew

Tue, 10/12/2010 - 15:29
andreychek

Howdy,

Whenever you change your hostname, just make sure you update that name in /etc/hosts, as well as on the "mydestination" line of /etc/postfix/main.cf, and then restart Postfix when you're done.

If you update the hosts file and main.cf, you should be in good shape!

-Eric

Tue, 10/12/2010 - 19:37 (Reply to #2)
arkestler

What about TLS? Do I need to regenerate anything due to the change and if so how?

Wed, 10/13/2010 - 10:15
andreychek

Nope, the things I mentioned above should do it :-)

-Eric

Topic locked