Courier IMAP issue

Discussion in 'Server Operation' started by dmwcool, Apr 25, 2010.

  1. dmwcool

    dmwcool New Member

    Hello Everybody,

    I asked this question in the Roundcube Forum but they stated I should ask the question here.

    I installed Roundcube on OpenSUSE 11.2 and went through the installer. When I go to log in I keep getting an error in the web browser "Connection to IMAP server failed"

    When I check my IMAP log file this keeps popping up "* BYE Temporary problem, please try again later"

    I don't know what is causing the problem and I have check every single log on my computer and I'm getting no where. Please help!
     
  2. CarbonCopy

    CarbonCopy New Member

    To narrow the issue, edit /etc/syslog.conf and put

    Code:
    mail.debug /var/log/mail.debug.log
    
    and then /etc/init.d/syslog restart

    Now you have a narrow log file which should be able to help. Also, can you connect via another email client like Thunderbird or outlook as it could be a PHP IMAP extension problem
     
  3. dmwcool

    dmwcool New Member

    I don't have a syslog.conf in that folder. Additionally I don't know how to connect via another email client. This is my first time creating an email server.
     
    Last edited: Apr 25, 2010
  4. CarbonCopy

    CarbonCopy New Member

    Please login to your server and enter this command

    Code:
    telnet localhost imap
    
    and tell me what the output is. This will help us determine if your server is running. Also, could you tell me what email server you're running (The above command should tell me anyways), how you installed that server, and are you using SSH to connect to the server?

    Also, I believe the syslog configuration file should be under /etc/sysconfig/syslog for OpenSuSe
     
    Last edited: Apr 26, 2010
  5. dmwcool

    dmwcool New Member

    This is the output from telnet localhost imap

    server1:~ # telnet localhost imap
    Trying ::1...
    telnet: connect to address ::1: Connection refused
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION] Courier-IMAP ready. Copyright 1998-2008 Double Precision, Inc. See COPYING for distribution information.
    Connection closed by foreign host.


    I installed everything by using the "The Perfect Server - OpenSUSE 11.2x86_64[ISPConfig 3]". No I'm not using SSH to connect to the server.

    I did find the syslog.conf and put the added code in there but when I went to restart it this is what I get.

    server1:~ # etc/init.d/syslog start
    bash: etc/init.d/syslog: No such file or directory
     
  6. RogueCoder

    RogueCoder New Member

    Did you get Connection closed by foreign host right away? And I believe CarbonCopy is referring to a different OS. For you, try

    killproc klogd
    killproc syslogd
    /sbin/klogd
    /sbin/syslogd

    I'm not sure, I don't use OpenSuSe myself, but that should work.
     
  7. dmwcool

    dmwcool New Member

    The "Connection closed by foreign host" error comes up exactly 1 minuter after the command is executed.

    Also when I did this:

    killproc klogd
    killproc syslogd
    /sbin/klogd
    /sbin/syslogd

    This is what I get:

    server1:~ # killproc klogd
    server1:~ # killproc syslogd
    server1:~ # /sbin/klogd
    server1:~ # /sbin/syslogd
    bash: /sbin/syslogd: No such file or directory
     
  8. dmwcool

    dmwcool New Member

    I did upgrade to the latest version of Courier-IMAP but I am still running into the same issues. I don't know what additional configuration I need to do. I thought everything was handled when I did the Roundcube install.
     
  9. RogueCoder

    RogueCoder New Member

    Roundcube is a webmail product. It is only an interface used to access an existing email server. Courier IMAP is the actual email server, and you can use any email client to access it (Thunderbird, Outlook, Evolution, telnet, Squirelmail).

    What Roundcube is saying is "I'm trying to connect to your email server to show you your emails but I can't".
     
  10. dmwcool

    dmwcool New Member

    Ok now I understand. So what's the best way to get this resolved. I have a clients that need a couple of emails for his website I just build him. This is why I was using Roundcube to set up those emails for him.
     
  11. RogueCoder

    RogueCoder New Member

    Personally? I'd follow one of the tutorials where you compile Courier IMAP and Postfix from scratch, there are quite a few on HowtoForge. I'm not sure exactly where your problem lies, but if you follow the tutorial, it should be easier to troubleshoot.

    Or you could try installing the Courier IMAP package that came with your distro using the package manager. Unless you go with the compile it yourself route, I can't help you since I don't use OpenSuSe (Though I'll try installing it on a spare server tonight if nobody has helped you by then).
     
  12. dmwcool

    dmwcool New Member

    Ok I'll try the tutorial tonight and go from there and post any updates that I get.
     

Share This Page