Hello all,

I've made some changes to the following config files:

main.inc.php in /usr/local/cpanel/base/3rdparty/roundcube/config
  • $rcmail_config['default_host']
  • $rcmail_config['smtp_server']

conf.php in /usr/local/cpanel/base/horde/config
  • $conf['auth']['params']['dsn']
  • $conf['mailer']['params']['host']

imapd in /usr/lib/courier-imap/etc (and imapd-ssl)
  • ADDRESS

pop3d in /usr/lib/courier-imap/etc (and pop3d-ssl)
  • ADDRESS

I need to know how to make these changes stick through updates. Since I am running two mail servers (isolated to different addresses), I need to specify the correct address to use for each service. This is easy to do with the Exim configuration editor; however, it does not seem to be possible with any of these other configs.

I know that there is a way to copy an entire config file back after each update, but I do not want to lose something added to new configs if I don't have to. Any ideas are welcome!