Results 1 to 9 of 9

Thread: cPanel's webmail requires that IMAP be enabled

  1. #1
    Member Astral God's Avatar
    Join Date
    Sep 2010
    Location
    127.0.0.1
    Posts
    167
    cPanel/WHM Access Level

    Root Administrator

    Question cPanel's webmail requires that IMAP be enabled

    Hi.

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

    It should be noted that cPanel's webmail requires that IMAP be enabled
    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. #2
    Member
    Join Date
    Apr 2006
    Location
    Freezing in England
    Posts
    112
    cPanel/WHM Access Level

    Root Administrator

    Default Re: cPanel's webmail requires that IMAP be enabled

    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

    Setting this to 'no' is preferable to disabling IMAP in the 'Protocols Enabled' section since it will force remote users to use encryption while still allowing webmail to function correctly.
    Implying that webmail does indeed need IMAP, per the note
    Last edited by ThinIce; 07-16-2012 at 10:18 AM.

  3. #3
    cPanel Staff Eric's Avatar
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    623
    cPanel/WHM Access Level

    Root Administrator

    Default Re: cPanel's webmail requires that IMAP be enabled

    Howdy,

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

    Thanks!

  4. #4
    EWD
    EWD is offline
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Aug 2003
    Location
    NY
    Posts
    167

    Default Re: cPanel's webmail requires that IMAP be enabled

    Quote Originally Posted by Eric View Post
    Howdy,

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

    Thanks!
    Care to share how?

    Thank you!
    Emerson

  5. #5
    cPanel Staff Eric's Avatar
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    623
    cPanel/WHM Access Level

    Root Administrator

    Default Re: cPanel's webmail requires that IMAP be enabled

    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. #6
    EWD
    EWD is offline
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Aug 2003
    Location
    NY
    Posts
    167

    Default Re: cPanel's webmail requires that IMAP be enabled

    Quote Originally Posted by Eric View Post
    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!

    Awesome thank you Eric
    Emerson

  7. #7
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,461
    cPanel/WHM Access Level

    Root Administrator

    Default Re: cPanel's webmail requires that IMAP be enabled

    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.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation - Find cPanel hosting


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

  8. #8
    EWD
    EWD is offline
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Aug 2003
    Location
    NY
    Posts
    167

    Default Re: cPanel's webmail requires that IMAP be enabled

    Excellent!
    Thank you so much Jared
    Emerson

  9. #9
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: cPanel's webmail requires that IMAP be enabled

    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!
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads

  1. Replies: 3
    Last Post: 08-25-2011, 09:27 AM
  2. SSL imap (imaps) not enabled after upgrade
    By yenne in forum E-mail Discussions
    Replies: 2
    Last Post: 06-13-2008, 04:25 PM
  3. IMAP and webmail problems
    By MMarko in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 02-20-2006, 03:00 PM
  4. Webmail & Imap
    By nsz in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 07-22-2004, 04:01 PM
  5. IMAP/Webmail
    By thug in forum cPanel & WHM Discussions
    Replies: 6
    Last Post: 03-03-2004, 08:55 AM