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.

Interesting Courier IMAP / Thunderbird issue(?)

Discussion in 'General Discussion' started by movielad, Oct 26, 2005.

  1. movielad

    movielad Well-Known Member
    PartnerNOC

    Joined:
    May 14, 2003
    Messages:
    107
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    DataCenter Provider
    Now that I'm using Courier IMAP, one problem that's cropped up when using Thunderbird (1.0.7 I believe) is that I keep getting:

    Code:
    Unable to connect to your IMAP server.  You may have exceeded the number of the connections to this server.  If so, use the Advanced IMAP Server settings dialog to reduce the number of cached connections.
    The number of cached connections allowed is 5. I'm using two individual IMAP accounts and check them every few minutes both manually and automatically. I don't recall seeing this problem with the old UWimap server - only recently after converting to Courier. I have had a look at the settings under

    /usr/lib/courier-imap/etc/imapd

    The maximum number of allowed connections from the same IP is set to 30. Thus I'm a little confused as to what's going on between Thunderbird and Courier. I should mention that I'm also using SSL with the IMAP connection too.

    Any ideas?

    Regards,

    Martyn
     
  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
    Did you restart courier after increasing the default connection value of 4 to what you have set, 30?

    /scripts/restartsrv_courier
     
  3. movielad

    movielad Well-Known Member
    PartnerNOC

    Joined:
    May 14, 2003
    Messages:
    107
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    DataCenter Provider
    The 30 connection limit is the default set by Courier IMAP. I did try increasing and decreasing Thunderbird's connection cache but it's made no difference.

    Regards,

    Martyn
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Right you are - looks like cPanel increased the default from 4 to 30 themselves with later releases of the courier package.
     
  5. russellhosting

    russellhosting Active Member

    Joined:
    Jun 19, 2003
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    6
    Actually for anyone else hitting this problem again, it looks like in cPanel 11 it is back to 4. So if any of your users report this problem, make sure you edit /usr/lib/courier-imap/etc/imapd and change the value of MAXPERIP= to the value that you desire then run /scripts/restartsrv_courier as previously suggested.
     
Loading...
Similar Threads - Interesting Courier IMAP
  1. Chris-777
    Replies:
    3
    Views:
    425

Share This Page