problems with dovecot.conf

Discussion in 'Installation/Configuration' started by mardek01, Feb 5, 2008.

  1. mardek01

    mardek01 New Member

    Hi all,

    Dovecot won´t start up.

    Just installed from Fedora8 and followed the instructions precisely.

    Startup script says it cant start dovecot because of the dovecot.conf files.

    here it is ( I deleted every line that was commented out)

    Code:
    protocol imap {
    }
    
    
    protocol pop3 {
    }
    
    
    protocol lda {
    }
    
    
    
    auth default {
      mechanisms = plain
      passdb pam {
      }
    
      userdb passwd {
      }
    
      user = root
    }
    
    
    dict {
      #quota = mysql:/etc/dovecot-dict-quota.conf
    }
    can you help me getting my dovecot.conf file as it should be?

    regards.
    Mardek
     
  2. mardek01

    mardek01 New Member

    Help! Can someone please send me his dovecot.conf file

    I am really stuck. can't find a good (working) example of the dovecot.conf file for an ISPconfig system.

    I would be very greatful if someone can send me his/her file.

    Getting this error on startup:
    Code:
    /etc/init.d/dovecot start
    Starting Dovecot Imap: Error: Dovecot is already running with PID 1864 (read from /var/run/dovecot//master.pid)
    Fatal: Invalid configuration in /etc/dovecot.conf
                                                               [FAILED]
    output of dovecot -n :
    Code:
    # 1.0.7: /etc/dovecot.conf
    base_dir: /var/run/dovecot/
    login_dir: /var/run/dovecot//login
    login_executable(default): /usr/libexec/dovecot/imap-login
    login_executable(imap): /usr/libexec/dovecot/imap-login
    login_executable(pop3): /usr/libexec/dovecot/pop3-login
    mail_executable(default): /usr/libexec/dovecot/imap
    mail_executable(imap): /usr/libexec/dovecot/imap
    mail_executable(pop3): /usr/libexec/dovecot/pop3
    mail_plugin_dir(default): /usr/lib/dovecot/imap
    mail_plugin_dir(imap): /usr/lib/dovecot/imap
    mail_plugin_dir(pop3): /usr/lib/dovecot/pop3
    auth default:
      passdb:
        driver: pam
      userdb:
        driver: passwd
    output of netstat -tap :
    Code:
     netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
    tcp        0      0 *:mysql                     *:*                         LISTEN      1860/mysqld
    tcp        0      0 *:sunrpc                    *:*                         LISTEN      1551/rpcbind
    tcp        0      0 *:hosts2-ns                 *:*                         LISTEN      2266/ispconfig_http
    tcp        0      0 localhost.localdomai:domain *:*                         LISTEN      2394/named
    tcp        0      0 localhost.localdomain:ipp   *:*                         LISTEN      2084/cupsd
    tcp        0      0 localhost.localdomain:rndc  *:*                         LISTEN      2394/named
    tcp        0      0 *:smtp                      *:*                         LISTEN      2365/master
    tcp        0      0 *:45565                     *:*                         LISTEN      1569/rpc.statd
    tcp        0      0 *:http                      *:*                         LISTEN      2289/httpd
    tcp        0      0 *:ftp                       *:*                         LISTEN      2411/proftpd: (acce
    tcp        0      0 localhost6.localdoma:domain *:*                         LISTEN      2394/named
    tcp        0      0 *:ssh                       *:*                         LISTEN      1758/sshd
    tcp        0      0 localhost6.localdomain:rndc *:*                         LISTEN      2394/named
    tcp        0      0 *:https                     *:*                         LISTEN      2289/httpd
    tcp        0   2072 ::ffff:192.168.100.99:ssh   ::ffff:213.201.159.92:37366 ESTABLISHED 3282/0
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    A fresh dovecot.conf file from your linux distribution without any changes works perfectly for ISPConfig. You might want to reinstall dovecot to get a fresh config file.
     

Share This Page