#1  
Old 29th November 2005, 21:08
hairydog2 hairydog2 is offline
Senior Member
 
Join Date: Oct 2005
Posts: 196
Thanks: 9
Thanked 2 Times in 2 Posts
Default Change of hostname in postfix

I have changed the hostname and domain that the ISPConfig server is using, adding a second IP address for it to use. With help from here, getting it to run on a different IP was no problem (I still can't change the port, but that's another matter)

Today's snag is the mail server. When people connect to it, it is giving the old hostname in its greeting instead of the new one.

I guess that I can change the content of /etc/postfix/main.cf, amending the line that says

myhostname = servername.com

Would this be OK, or would ISPConfig overwrite my changes from somewhere else?

What I'm concerned about is that this would probably mess up the certificates connected with the postfix installation. Does this matter? If so, how do I fix it?
Reply With Quote
Sponsored Links
  #2  
Old 29th November 2005, 21:37
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Quote:
Originally Posted by hairydog2
I have changed the hostname and domain that the ISPConfig server is using, adding a second IP address for it to use. With help from here, getting it to run on a different IP was no problem (I still can't change the port, but that's another matter)

Today's snag is the mail server. When people connect to it, it is giving the old hostname in its greeting instead of the new one.

I guess that I can change the content of /etc/postfix/main.cf, amending the line that says

myhostname = servername.com

Would this be OK, or would ISPConfig overwrite my changes from somewhere else?
You can change that in the main.cf. ISPConfig does not change the main.cf after the installation.
Reply With Quote
  #3  
Old 29th November 2005, 21:49
hairydog2 hairydog2 is offline
Senior Member
 
Join Date: Oct 2005
Posts: 196
Thanks: 9
Thanked 2 Times in 2 Posts
Default

Will it matter if I do not do anything with the ssl key generated when installing postfix?
Reply With Quote
  #4  
Old 29th November 2005, 21:52
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

I dont know. I would just try it, if you get SSL errors when you connect you can change the certificates then.
Reply With Quote
  #5  
Old 30th November 2005, 00:08
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
 
Default

If you want to change the certificates, simply re-run the steps to create the certificates from the "Perfect Setup" tutorial that applies to your distribution.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota... killfrog HOWTO-Related Questions 3 25th September 2009 21:45
Email from hostname ejkeebler Installation/Configuration 7 1st November 2005 15:34
What should hostname be? Lil'Brudder General 2 19th October 2005 10:08
Server Hostname and IPSConfig Lil'Brudder Installation/Configuration 2 14th October 2005 12:46
Error Postfix misterm Server Operation 6 28th August 2005 10:18


All times are GMT +2. The time now is 12:48.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.