Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Sep 2004
    Posts
    48

    Default Revert from courier?

    Hey all,

    I recently had a hard drive crash, and restored from backups, but the fresh install of cpanel seems to default to courier / maildir, and all my old email seems to be lost, or at least inaccessable.

    Anyone know how to force cpanel to revert to pop3d without having done the maildir conversion first?

    Thanks
    Brooks Bridges, CEO
    Firestorm Networks, LLC

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Two choices:

    1. The best choice would be to simply run through the maildir conversion again and it will convert your restored mbox format to the new maildir format:

    /scripts/convert2maildir

    2. If you really want to back off, you can, but it's not a good idea. Any email delivered since going to maildir will be lost:

    service chkservd stop
    service courier-authlib stop
    service courier-imap stop


    Edit /var/cpanel/cpanel.config and set maildir=0

    Then:

    /scripts/eximup --force
    service cpanel restart
    service xinetd restart
    service chkservd start


    That should do it.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    If you don't have maildir=1 in cpanel.config then as far as cPanel is concerned it's running the mbox version.

    Is courier-imap actually running?
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  4. #4
    Member
    Join Date
    Sep 2004
    Posts
    48

    Default

    I'm not finding "maildir" in cpanel.config, I'm guessing I should just add it?

    edit: added that line, and now I'm getting this:

    Jul 31 17:20:57 pfx-shout01 stunnel: LOG3[16038:3086534880]: Error binding cpanelhttps to 0.0.0.0:2083
    Jul 31 17:20:57 pfx-shout01 stunnel: LOG3[16038:3086534880]: bind: Address already in use (98)

    that's from the failed stunnel restart

    edit: ok, I got the stunnel failure fixed, but now I can't view any of the mailboxes when I open the subscribe list in thunderbird. permissions maybe?
    Last edited by BrooksBridges; 07-31-2006 at 04:39 PM.
    Brooks Bridges, CEO
    Firestorm Networks, LLC

  5. #5
    Member
    Join Date
    Sep 2004
    Posts
    48

    Default

    Quote Originally Posted by chirpy
    If you don't have maildir=1 in cpanel.config then as far as cPanel is concerned it's running the mbox version.

    Is courier-imap actually running?
    yes, it was.

    edit: /scripts/fixhome corrected the mailbox problem. Things seem just fine now, thanks a lot for the help!
    Brooks Bridges, CEO
    Firestorm Networks, LLC

  6. #6
    Member duranduran's Avatar
    Join Date
    Apr 2004
    Posts
    198

    Talking

    Quote Originally Posted by chirpy
    Two choices:

    1. The best choice would be to simply run through the maildir conversion again and it will convert your restored mbox format to the new maildir format:

    /scripts/convert2maildir

    2. If you really want to back off, you can, but it's not a good idea. Any email delivered since going to maildir will be lost:

    service chkservd stop
    service courier-authlib stop
    service courier-imap stop


    Edit /var/cpanel/cpanel.config and set maildir=0

    Then:

    /scripts/eximup --force
    service cpanel restart
    service xinetd restart
    service chkservd start


    That should do it.

    YOU ARE THE BEST CHIRPY

Similar Threads & Tags
Similar threads

  1. Courier, courier-auth and custom usernames
    By micho101 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-27-2009, 09:36 AM
  2. Chmod Permissions Revert Problem
    By searcher1 in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 09-17-2008, 03:50 AM
  3. Revert to MySQL 4.1 from 5 -- should I?
    By orty in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 07-31-2008, 03:21 AM
  4. How to revert back to old easyapache
    By felosi in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-21-2007, 09:45 AM
  5. courier authlib and courier imap taking up resources
    By dennis in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-18-2005, 02:52 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube