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.

Revert from courier?

Discussion in 'General Discussion' started by BrooksBridges, Jul 31, 2006.

  1. BrooksBridges

    BrooksBridges Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    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
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    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.
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    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?
     
  4. BrooksBridges

    BrooksBridges Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    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?
     
    #4 BrooksBridges, Jul 31, 2006
    Last edited: Jul 31, 2006
  5. BrooksBridges

    BrooksBridges Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    yes, it was.

    edit: /scripts/fixhome corrected the mailbox problem. Things seem just fine now, thanks a lot for the help!
     
  6. duranduran

    duranduran Well-Known Member

    Joined:
    Apr 30, 2004
    Messages:
    198
    Likes Received:
    0
    Trophy Points:
    16

    YOU ARE THE BEST CHIRPY :D
     
Loading...
Similar Threads - Revert courier
  1. Chris-777
    Replies:
    3
    Views:
    420

Share This Page