Dovecot configuration different between cPanel and dovecot.conf
Every time I edit the Mailserver Configuration in cPanel and save it, it seems to default the settings in dovecot.conf. It is not saving the ciphers and SSL settings that I enter in cPanel.
Some of the users of course have older OS/Mail client and so need TLSv1 turned on. When editing the settings and saving them, the dovecot.conf file has TLSv1 turned off, even though they are set as on in cPanel. It also reverts the cipher list.
Any idea how and why this is happening? It is preventing some client devices from connecting.
-
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 -
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 -
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 -
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.
Comments
4 comments