Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Jun 26, 2012 4:02 am 
Offline
Senior Newbie

Joined: Wed Jun 20, 2012 12:51 am
Posts: 10
I'm running postfix, dovecot, apache, php, mysql etc on Ubuntu 12.04 and (I think) I now need to reset my hostname and regenerate my smtpd.cert SSL certificate so that my certificate is validated by email clients. At the moment, Thunderbird launches a warning dialog saying "Wrong site: Certificate belongs to a different site" and prompting user to cancel or create a security exception.

So, I guess I need to change hostname to reflect my primary domain, then generate a new SSL cert with those same details.

Is this correct, and what other unforeseen impacts could changing the hostname have?

From what I could find, I need to change hostname in "/etc/hostname" and "/etc/hosts", then "sudo service hostname restart" and also change hostname for postfix in "/etc/mailname"

Anywhere else?


Top
   
PostPosted: Tue Jun 26, 2012 7:25 am 
Offline
Senior Member

Joined: Sun Aug 31, 2008 4:29 pm
Posts: 177
Postfix identifies itself according to the value set for 'myhostname' in main.cf

If myhostname is not set, the fqdn of the server is used.

So you could set myhostname to agree with your cert....

_________________
sleddog


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group