Skip to main content

Dovecot configuration different between cPanel and dovecot.conf

Comments

4 comments

  • cPanelLauren
    Hi @easy-hosting The disclaimer at the top of the file should explain this: ## Dovecot configuration file # NOTICE FOR CPANEL SYSTEMS # On cPanel servers this file is generated by combining a # template at /var/cpanel/templates/dovecot2.2/main.default # and a datastore at /var/cpanel/conf/dovecot/main # # The template may be customized by making a copy of it at # /var/cpanel/templates/dovecot2.2/main.local # similar to the way in which httpd.conf can be customized # # Direct edits of the rendered dovecot.conf file will not # be preserved when dovecot is updated. Use the # "Mailserver Configuration" interface in WebHostManager instead.
    Thanks!
    0
  • easy-hosting
    Hey Lauren, As advised in the original post, I had been using the "Mailserver Configuration" option to make the changes, but these changes don't reflect what gets stored and used in the dovecot.conf file. Shouldn't the settings in "Mailserver Configuration" be preserved, or at least used in the first place? Or do I have to manually make the customised template and then "Mailserver Configuration" changes will work? Cheers
    0
  • easy-hosting
    Renamed the /var/cpanel/templates/dovecot2.2/main.local file as this was overwriting any settings being applied by "Mailserver Configuration". I may look at customising it, but don't really see the point if it won't allow changes to be made from within WHM.
    0
  • cPanelLauren
    Hi @easy-hosting The main.default is where the mailserver configuration changes are placed for the most part (between there and the datastore). If you have a main.local in place no matter what you do it's going to overwrite the changes in the mailserver config. Thanks!
    0

Please sign in to leave a comment.