ISPconfig 3, CentOS, squirrelMail, dovecot.

Discussion in 'General' started by LordNecro, Mar 9, 2011.

  1. LordNecro

    LordNecro New Member

    Alrighty, I installed ispconfig 3 the other day and I have been doing bits and pieces of seeing if it's working and what not.

    I notice that going to "monitor" and "show services" lists these:
    POP3-Server: Offline
    IMAP-Server: Offline

    They are dropping in and out like buggery.

    Any help?

    Also, my squirrelmail won't let me login, I am presented with:
    ERROR:
    ERROR: Connection dropped by IMAP server.


    Any ideas?
     
  2. LordNecro

    LordNecro New Member

    any ideas? i've tried searching, but still can't take heads or tails..
     
  3. falko

    falko Super Moderator ISPConfig Developer

    Any errors in your mail log?

    What are the outputs of
    Code:
    getenforce
    ,
    Code:
    netstat -tap
    , and
    Code:
    iptables -L
    ?
     
  4. LordNecro

    LordNecro New Member

    Thanks for the help falko,
    getenforce
    Code:
    Disabled
    
    netstat -tap
    Code:
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
    tcp        0      0 localhost.localdomain:10024 *:*                         LISTEN      3373/amavisd (maste
    tcp        0      0 localhost.localdomain:10025 *:*                         LISTEN      3432/master
    tcp        0      0 *:mysql                     *:*                         LISTEN      3318/mysqld
    tcp        0      0 *:xfr                       *:*                         LISTEN      3044/rpc.statd
    tcp        0      0 localhost.local:dyna-access *:*                         LISTEN      3233/clamd
    tcp        0      0 *:sunrpc                    *:*                         LISTEN      3008/portmap
    tcp        0      0 *:ndmp                      *:*                         LISTEN      3656/perl
    tcp        0      0 *:ftp                       *:*                         LISTEN      3479/pure-ftpd (SER
    tcp        0      0 localhost.localdomai:domain *:*                         LISTEN      2950/named
    tcp        0      0 localhost.localdomain:ipp   *:*                         LISTEN      3203/cupsd
    tcp        0      0 *:smtp                      *:*                         LISTEN      3432/master
    tcp        0      0 localhost.localdomain:rndc  *:*                         LISTEN      2950/named
    tcp        0      0 *:webcache                  *:*                         LISTEN      3463/httpd
    tcp        0      0 *:http                      *:*                         LISTEN      3463/httpd
    tcp        0      0 *:tproxy                    *:*                         LISTEN      3463/httpd
    tcp        0      0 *:ftp                       *:*                         LISTEN      3479/pure-ftpd (SER
    tcp        0      0 localhost6.localdoma:domain *:*                         LISTEN      2950/named
    tcp        0      0 *:ssh                       *:*                         LISTEN      3190/sshd
    tcp        0      0 localhost6.localdomain:rndc *:*                         LISTEN      2950/named
    tcp        0      0 *:https                     *:*                         LISTEN      3463/httpd
    tcp        0    148 ::ffff:172.16.202.6:ssh     ::ffff:192.168.56.137:4961  ESTABLISHED 3893/0
    
    and
    iptables -L
    Code:
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    
    
    I have fixed the offline services, incompatible and out dated rpm's as a result of atrpms being annoying.

    I still however have:
    Code:
    ERROR:
    ERROR: Connection dropped by IMAP server.
    
    Squirrelmail being a jerk.
     
    Last edited: Mar 13, 2011
  5. falko

    falko Super Moderator ISPConfig Developer

    Dovecot's not running. Please start it:
    Code:
    /etc/init.d/dovecot start
     
  6. LordNecro

    LordNecro New Member

    i started it, forgot to add it to chkconfig. But I have tried starting it before, postfix will not start, where do i find logs?
     
  7. LordNecro

    LordNecro New Member

    seems i got doubles...

    Code:
    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      3380/dovecot
    tcp        0      0 *:pop3s                     *:*                         LIST                                    EN      3380/dovecot
    tcp        0      0 *:borland-dsj               *:*                         LIST                                    EN      3069/rpc.statd
    tcp        0      0 localhost.localdomain:10024 *:*                         LIST                                    EN      3439/amavisd (maste
    tcp        0      0 *:mysql                     *:*                         LIST                                    EN      3343/mysqld
    tcp        0      0 *:pop3                      *:*                         LIST                                    EN      3380/dovecot
    tcp        0      0 localhost.local:dyna-access *:*                         LIST                                    EN      3258/clamd
    tcp        0      0 *:imap                      *:*                         LIST                                    EN      3380/dovecot
    tcp        0      0 *:sunrpc                    *:*                         LIST                                    EN      3033/portmap
    tcp        0      0 *:ndmp                      *:*                         LIST                                    EN      3739/perl
    tcp        0      0 *:ftp                       *:*                         LIST                                    EN      3545/pure-ftpd (SER
    tcp        0      0 localhost.localdomai:domain *:*                         LIST                                    EN      2975/named
    tcp        0      0 localhost.localdomain:ipp   *:*                         LIST                                    EN      3228/cupsd
    tcp        0      0 localhost.localdomain:smtp  *:*                         LIST                                    EN      3498/master
    tcp        0      0 localhost.localdomain:rndc  *:*                         LIST                                    EN      2975/named
    tcp        0      0 *:imaps                     *:*                         LIST                                    EN      3380/dovecot
    tcp        0      0 *:pop3s                     *:*                         LIST                                    EN      3380/dovecot
    tcp        0      0 *:pop3                      *:*                         LIST                                    EN      3380/dovecot
    tcp        0      0 *:imap                      *:*                         LIST                                    EN      3380/dovecot
    tcp        0      0 *:webcache                  *:*                         LIST                                    EN      3529/httpd
    tcp        0      0 *:http                      *:*                         LIST                                    EN      3529/httpd
    tcp        0      0 *:tproxy                    *:*                         LIST                                    EN      3529/httpd
    tcp        0      0 *:ftp                       *:*                         LIST                                    EN      3545/pure-ftpd (SER
    tcp        0      0 localhost6.localdoma:domain *:*                         LIST                                    EN      2975/named
    tcp        0      0 *:ssh                       *:*                         LIST                                    EN      3215/sshd
    tcp        0      0 localhost6.localdomain:rndc *:*                         LIST                                    EN      2975/named
    tcp        0      0 *:https                     *:*                         LIST                                    EN      3529/httpd
    tcp        0      0 ::ffff:172.16.20.2:ssh      ::ffff:192.168.1.50:49789   ESTA                                    BLISHED 4416/0
    
     
  8. falko

    falko Super Moderator ISPConfig Developer

    Do POP3/IMAP work now?

    Postfix is listening on localhost only. Please set inet_interfaces to all in /etc/postfix/main.cf and restart Postfix.
     
  9. LordNecro

    LordNecro New Member

    hmm still no luck, still got dropped.

    Code:
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
    tcp        0      0 *:imaps                     *:*                         LISTEN      3502/dovecot
    tcp        0      0 *:pop3s                     *:*                         LISTEN      3502/dovecot
    tcp        0      0 localhost.localdomain:10024 *:*                         LISTEN      3619/amavisd (maste
    tcp        0      0 *:mysql                     *:*                         LISTEN      3381/mysqld
    tcp        0      0 *:pop3                      *:*                         LISTEN      3502/dovecot
    tcp        0      0 localhost.local:dyna-access *:*                         LISTEN      3297/clamd
    tcp        0      0 *:imap                      *:*                         LISTEN      3502/dovecot
    tcp        0      0 *:sunrpc                    *:*                         LISTEN      3046/portmap
    tcp        0      0 *:ndmp                      *:*                         LISTEN      3921/perl
    tcp        0      0 *:720                       *:*                         LISTEN      3082/rpc.statd
    tcp        0      0 *:ftp                       *:*                         LISTEN      3751/pure-ftpd (SER
    tcp        0      0 localhost.localdomai:domain *:*                         LISTEN      2978/named
    tcp        0      0 localhost.localdomain:ipp   *:*                         LISTEN      3254/cupsd
    tcp        0      0 *:smtp                      *:*                         LISTEN      5677/master
    tcp        0      0 localhost.localdomain:rndc  *:*                         LISTEN      2978/named
    tcp        0      0 *:imaps                     *:*                         LISTEN      3502/dovecot
    tcp        0      0 *:pop3s                     *:*                         LISTEN      3502/dovecot
    tcp        0      0 *:pop3                      *:*                         LISTEN      3502/dovecot
    tcp        0      0 *:imap                      *:*                         LISTEN      3502/dovecot
    tcp        0      0 *:webcache                  *:*                         LISTEN      3735/httpd
    tcp        0      0 *:http                      *:*                         LISTEN      3735/httpd
    tcp        0      0 *:tproxy                    *:*                         LISTEN      3735/httpd
    tcp        0      0 *:ftp                       *:*                         LISTEN      3751/pure-ftpd (SER
    tcp        0      0 localhost6.localdoma:domain *:*                         LISTEN      2978/named
    tcp        0      0 *:ssh                       *:*                         LISTEN      3241/sshd
    tcp        0      0 localhost6.localdomain:rndc *:*                         LISTEN      2978/named
    tcp        0      0 *:https                     *:*                         LISTEN      3735/httpd
    tcp        0      0 ::ffff:172.16.20.2:ssh      ::ffff:192.168.1.50:49801   ESTABLISHED 5822/sshd: root@not
    tcp        0      0 ::ffff:172.16.20.2:ssh      ::ffff:192.168.1.50:62022   ESTABLISHED 3561/0
    
     
    Last edited: Mar 23, 2011

Share This Page