Cyrus IMAP Configuration ??

Discussion in 'Installation/Configuration' started by kisong, Oct 21, 2005.

  1. kisong

    kisong New Member

    I'm still having trouble setting up the default IMAP server that the Perfect Setup - Fedora Core 4 guides me to install. It should be the suite of cyrus apps.

    I've tried installing it to the letter 2 times, but I still can't get my IMAP client (Outlook Express) to connect to the server.

    Just to let you know, the POP, SMTP, Web, Shell, etc. servers are all running smoothly and looks like there are no problems. It just seems to be the IMAP service.

    I don't think it is a firewall problem because the server is connected with port 143 open (I think that is the default port for IMAP).

    Any ideas?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Is your imap server listed when you execute: netsta -tap

    Do you get any errors when you start your imap server or are any errors in the messages or syslog?
     
  3. kisong

    kisong New Member

    This is what is listed when I run netstat -tap:

    ******************************************

    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address Stat
    e PID/Program name
    tcp 0 0 *:imaps *:* LIST
    EN 8922/xinetd
    tcp 0 0 *:32769 *:* LIST
    EN 1676/rpc.statd
    tcp 0 0 *:pop3s *:* LIST
    EN 8922/xinetd
    tcp 0 0 *:mysql *:* LIST
    EN 2119/mysqld
    tcp 0 0 *:pop3 *:* LIST
    EN 8922/xinetd
    tcp 0 0 *:imap *:* LIST
    EN 8922/xinetd
    tcp 0 0 *:sunrpc *:* LIST
    EN 1659/portmap
    tcp 0 0 *:81 *:* LIST
    EN 2416/ispconfig_http
    tcp 0 0 *:ftp *:* LIST
    EN 26908/proftpd: (acc
    tcp 0 0 70-88-225-1-knife-ce:domain *:* LIST
    EN 3922/named
    tcp 0 0 mail.knifecenter.com:domain *:* LIST
    EN 3922/named
    tcp 0 0 mail.knifecenter.com:ipp *:* LIST
    EN 1971/cupsd
    tcp 0 0 mail.knifecenter.com:5335 *:* LIST
    EN 1955/mDNSResponder
    tcp 0 0 *:smtp *:* LIST
    EN 26995/master
    tcp 0 0 mail.knifecenter.com:rndc *:* LIST
    EN 3922/named
    tcp 0 0 *:http *:* LIST
    EN 2607/httpd
    tcp 0 0 *:ssh *:* LIST
    EN 2018/sshd
    tcp 0 0 ::1:rndc *:* LIST
    EN 3922/named
    tcp 0 0 *:https *:* LIST
    EN 2607/httpd
    tcp 0 0 70-88-225-1-knife-cente:ssh ::ffff:10.1.10.19:60451 ESTA
    BLISHED 24910/0

     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Check your Xinetd configuration ( in /etx/xinetd/) which imap binary is connected to the imap port. And what about my 2. question: Any errors in the mail log or syslog?
     
  5. falko

    falko Super Moderator ISPConfig Developer

    That looks ok. IMAP is running. Maybe you have a firewall on your client computer (where Outlook Express runs) that doesn't allow connections to port 143?
     
  6. kisong

    kisong New Member

    I tried a different IMAP client (Mozilla Thunderbird). I get the following message:

    Mail server mail.knifecenter.com is not an IMAP4 mail server.

    This is so frustrating!

     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Have you checked the things I've posted above?
     
  8. kisong

    kisong New Member

    Where are the syslog and messages log files? I will post them if you tell me where the logs are located.

     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    Log files are in /var/log. Dont post the complete logfiles here, they are too large. Search for IMAP errors and post the errors here.
     
  10. kisong

    kisong New Member

    This is the xinetd conf file:

    ************
    #
    # Simple configuration file for xinetd
    #
    # Some defaults, and include /etc/xinetd.d/

    defaults
    {
    instances = 60
    log_type = SYSLOG authpriv
    log_on_success = HOST PID
    log_on_failure = HOST
    cps = 25 30
    }

    includedir /etc/xinetd.d

    ********************************

     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    In the directory: /etc/xinetd.d/ must be a file with imap in the name, whats the content of this file?
     
  12. kisong

    kisong New Member

    It doesn't look like there are imap errors ... the only reference to imap is:

    ****************************
    mail xinetd[8922]: readjusting service imap
    mail xinetd[8922]: readjusting service imaps
    ****************************

     
  13. kisong

    kisong New Member

    # default: off
    # description: The IMAP service allows remote users to access their mail using \
    # an IMAP client such as Mutt, Pine, fetchmail, or Netscape \
    # Communicator.
    service imap
    {
    disable = no
    socket_type = stream
    wait = no
    user = root
    server = /usr/sbin/imapd
    log_on_success += HOST DURATION
    log_on_failure += HOST
    }

     
  14. falko

    falko Super Moderator ISPConfig Developer

    Can you describe exactly what you did in order to install IMAP on your server?
     
  15. kisong

    kisong New Member

    I followed the "Perfect Setup: Fedora Core 4" from this website.

     
  16. falko

    falko Super Moderator ISPConfig Developer

    Did you follow it exactly or roughly? Did you use PuTTY ( http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html ) to make the configuration after the basic system installation? Because with PuTTY you can simply copy all commands from the tutorial and copy them to the command shell so you can't make any typos... :)
     
  17. kisong

    kisong New Member

    Yes, I believe so. I tried it twice.

     
  18. falko

    falko Super Moderator ISPConfig Developer

    You believe, or you know for sure? :D
     
  19. kisong

    kisong New Member

    I am 100% positive.

     
  20. kisong

    kisong New Member

    This is my xinetd.conf file:

    *********************
    #
    # Simple configuration file for xinetd
    #
    # Some defaults, and include /etc/xinetd.d/

    defaults
    {
    instances = 60
    log_type = SYSLOG authpriv
    log_on_success = HOST PID
    log_on_failure = HOST
    cps = 25 30
    }

    includedir /etc/xinetd.d
    ***************************

    Which file is the syslog file? Is it messages? If so, there are no errors associated with Cyrus or any reference to IMAP in this log file.

     

Share This Page