The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Dovecot broke with cPanel/WHM 11.40 update

Discussion in 'General Discussion' started by anand, Nov 6, 2013.

  1. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Today morning after the update, dovecot broke down and now refuses to start up. Anyone else facing the same problem ?
     
  2. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    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
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,852
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
    anand likes this.
  4. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Thanks for the config details.
     
  5. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    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
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,852
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  7. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Will do, thanks.
     
Loading...

Share This Page