We recently changed our webserver and had the domain of our hosting provider set as the IMAP hostname. When we switched servers this domain changed so I wanted to just change the hostname of the IMAP server - which is not possible as far as I know.
I can change the SMTP server but not the IMAP one.
This resulted in me removing all the accounts of my company and re-adding them and the signatures one by one. A very bad side effect: All Email assignments and comments got lost in this process - well not all but most of them. For a change like this I shouldn't need to rip out the whole system and start from scratch...