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.

cPanel's webmail requires that IMAP be enabled

Discussion in 'E-mail Discussions' started by Astral God, Jul 14, 2012.

  1. Astral God

    Astral God Well-Known Member

    Joined:
    Sep 27, 2010
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    127.0.0.1
    cPanel Access Level:
    Root Administrator
    Hi.

    On "Mailserver Configuration", we have the follow note:

    Does this mean tha ti have to maintain IMAP, IMAPS and POPS or can i keep only IMAPS and POPS (secured versions only) ?

    Thanks.
     
  2. ThinIce

    ThinIce Well-Known Member

    Joined:
    Apr 27, 2006
    Messages:
    346
    Likes Received:
    7
    Trophy Points:
    18
    Location:
    Disillusioned in England
    cPanel Access Level:
    Root Administrator
    Interesting question. Looking at the sources under /usr/local/cpanel/base/3rdparty/ the applications themselves certainly seem to have defaults of localhost and port 143

    The disable plaintext auth also has the following

    Implying that webmail does indeed need IMAP, per the note
     
    #2 ThinIce, Jul 16, 2012
    Last edited: Jul 16, 2012
  3. Eric

    Eric Administrator
    Staff Member

    Joined:
    Nov 25, 2007
    Messages:
    746
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Texas
    cPanel Access Level:
    Root Administrator
    Howdy,

    There are ways to point each webmail app over tho imaps and turn imap off.

    Thanks!
     
  4. EWD

    EWD Well-Known Member
    PartnerNOC

    Joined:
    Aug 19, 2003
    Messages:
    165
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    NY
    Care to share how?

    Thank you! :)
     
  5. Eric

    Eric Administrator
    Staff Member

    Joined:
    Nov 25, 2007
    Messages:
    746
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Texas
    cPanel Access Level:
    Root Administrator
    Sure

    First run /scripts/makecpphp you're going to need some SSL in your PHP Kool-Aid.

    For SquirrelMail

    Code:
    
    /usr/local/cpanel/base/3rdparty/squirrelmail/configure
    
    Option 1, Option 2, Option A, Option 5, Change the port to 993, Option 7, Switch to YES, Save and Quit
    
    
    I will research the others and update.

    Thanks!
     
  6. EWD

    EWD Well-Known Member
    PartnerNOC

    Joined:
    Aug 19, 2003
    Messages:
    165
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    NY

    Awesome thank you Eric :)
     
  7. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    For Horde:

    Edit /usr/local/cpanel/base/horde/imp/config/servers.php and change the port and protocol values as described here:

    Wiki :: FAQ/Admin/Prerequisites

    For Roundcube:

    Edit /usr/local/cpanel/base/3rdparty/roundcube/config/main.inc.php, and edit the following line:

    Code:
    $rcmail_config['default_host'] = 'localhost';
    This is explained here:

    Howto_Config – Roundcube Webmail

    Note that edits to the SquirrelMail, Roundcube and Horde configuration files can be overwritten when cPanel updates. To work around this, once you get everything working as you want, copy the files you have edited to another location, and create a /scripts/postupcp script that will copy the files back to their original locations. That way your custom edited files will still be present after each cPanel update.
     
  8. EWD

    EWD Well-Known Member
    PartnerNOC

    Joined:
    Aug 19, 2003
    Messages:
    165
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    NY
    Excellent!
    Thank you so much Jared
     
  9. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    For the /scripts/postupcp script in case you have any trouble, here's how you could do that part:

    Code:
    cp /usr/local/cpanel/base/horde/imp/config/servers.php  /root/servers.php
    cp /usr/local/cpanel/base/3rdparty/roundcube/config/main.inc.php /root/main.inc.php
    Code:
    touch /scripts/postupcp
    chmod +x /scripts/postupcp
    After that, run the following to place the copy commands into that script:

    Code:
    echo -e '#!/bin/bash\ncp /root/servers.php /usr/local/cpanel/base/horde/imp/config/servers.php\ncp /root/main.inc.php /usr/local/cpanel/base/3rdparty/roundcube/config/main.inc.php' > /scripts/postupcp
    Thanks!
     
Loading...

Share This Page