Dovecot broke with cPanel/WHM 11.40 update

anand

Well-Known Member
Nov 11, 2002
1,435
1
168
India
cPanel Access Level
DataCenter Provider
Found the problem, and its solution.

My /home was mounted on nfs volume, and hence had below options turned on inside dovecot.conf

mail_nfs_storage = yes
mail_nfs_index = yes

The dovecot restart options from WHM and command line didn't mention the errors inside dovecot.conf. When i ran the dovecot binary directly from commandline, it didn't recognise the nfs options. After disabling the options from conf file, dovecot started back up.

Any ideas on what the new nfs options are and how to rebuild the conf file from scratch just to be sure nothing else is causing any problems with the latest dovecot version ?

Thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

Dovecot is updated to version 2.2 in cPanel 11.40. I found the following document that may be of assistance to you:

NFS - Dovecot Wiki

You can edit the following file for local modifications to the Dovecot configuration:

Code:
/var/cpanel/templates/dovecot2.2/main.local
Note: You can copy this file from /var/cpanel/templates/dovecot2.2/main.default if it does not exist. After making the custom modifications, you must run:

Code:
/scripts/builddovecotconf
Thank you.
 
  • Like
Reactions: anand

anand

Well-Known Member
Nov 11, 2002
1,435
1
168
India
cPanel Access Level
DataCenter Provider
Hello :)

Dovecot is updated to version 2.2 in cPanel 11.40. I found the following document that may be of assistance to you:

NFS - Dovecot Wiki

You can edit the following file for local modifications to the Dovecot configuration:

Code:
/var/cpanel/templates/dovecot2.2/main.local
Note: You can copy this file from /var/cpanel/templates/dovecot2.2/main.default if it does not exist. After making the custom modifications, you must run:

Code:
/scripts/builddovecotconf
Thank you.
Hi,

I tried the above, yet i see the NFS options getting enabled automatically by itself. For now I have made manual changes and used chattr +i to save myself. Is there anywhere else i should be looking where it could be saving changes ?

Thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hi,

I tried the above, yet i see the NFS options getting enabled automatically by itself. For now I have made manual changes and used chattr +i to save myself. Is there anywhere else i should be looking where it could be saving changes ?

Thanks
Feel free to open a support ticket using the link in my signature if the provided method is not working. You can post the ticket number here so we can update this thread with the outcome.

Thank you.