IMAP not accepting passwords

Discussion in 'Installation/Configuration' started by EckyBrazz, Feb 3, 2013.

  1. EckyBrazz

    EckyBrazz New Member

    Hi.

    After a server reboot IMAP has stoped working; It does not accept passwords. This is for Thunderburd, Evolution and Roundcube.

    Code:
    root@serv14:~# telnet XXXXX.com.br 143
    Trying 66.7.2XX7.XX4...
    Connected to XXXXs.com.br.
    Escape character is '^]'.
    * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
    
    I use Ubunutu 12.04.2LTS and the latest ISPCONFIG 3,05RC1
     
    Last edited: Feb 3, 2013
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Restart mysql and then check the mail.log for errors when you try to login with imap.
     
  3. EckyBrazz

    EckyBrazz New Member

    I restarted mysql, but no go, still the same problem. see log file below
    Code:
    Feb  4 09:18:53 serv14 postfix/qmgr[3102]: 91B0F5604EC: from=<bounce@salutesolucoes.com>, size=86017, nrcpt=1 (queue active)
    Feb  4 09:18:53 serv14 amavis[3934]: (03934-06) Passed SPAMMY, [94.23.75.218] [94.23.75.218] <bounce@salutesolucoes.com> -> <everaldo@everaldo.cnt.br>, Message-ID: <7270c5dd58163d198c8cf779166ee244@www.salutesolucoes.com>, mail_id: 09ss30bF+dqZ, Hits: 18.549, size: 84748, queued_as: 91B0F5604EC, dkim_id=@salutesolucoes.com, 709 ms
    Feb  4 09:18:53 serv14 postfix/smtp[5472]: 74434560347: to=<everaldo@everaldo.cnt.br>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.2, delays=0.5/0/0/0.71, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 91B0F5604EC)
    Feb  4 09:18:53 serv14 postfix/qmgr[3102]: 74434560347: removed
    Feb  4 09:18:53 serv14 postfix/qmgr[3102]: 4843356068F: from=<bounce@salutesolucoes.com>, size=84736, nrcpt=1 (queue active)
    Feb  4 09:18:53 serv14 dovecot: lda(everaldo@everaldo.cnt.br): sieve: msgid=<7270c5dd58163d198c8cf779166ee244@www.salutesolucoes.com>: stored mail into mailbox 'INBOX'
    Feb  4 09:18:53 serv14 postfix/pipe[5491]: 91B0F5604EC: to=<everaldo@everaldo.cnt.br>, relay=dovecot, delay=0.25, delays=0.08/0/0/0.17, dsn=2.0.0, status=sent (delivered via dovecot service)
    Feb  4 09:18:53 serv14 postfix/qmgr[3102]: 91B0F5604EC: removed
    Feb  4 09:18:54 serv14 postfix/smtpd[5519]: disconnect from el218.elclube.com.br[94.23.75.218]
    Feb  4 09:18:54 serv14 postfix/smtpd[5490]: 81DAD560347: client=localhost.localdomain[127.0.0.1]
    Feb  4 09:18:54 serv14 postfix/cleanup[5524]: 81DAD560347: message-id=<f87489b9d69d1ab8977583cd2f961cc6@www.salutesolucoes.com>
    Feb  4 09:18:54 serv14 postfix/smtpd[5490]: disconnect from localhost.localdomain[127.0.0.1]
    Feb  4 09:18:54 serv14 postfix/qmgr[3102]: 81DAD560347: from=<bounce@salutesolucoes.com>, size=85995, nrcpt=1 (queue active)
    Feb  4 09:18:54 serv14 amavis[3260]: (03260-11) Passed SPAMMY, [94.23.75.218] [94.23.75.218] <bounce@salutesolucoes.com> -> <boleto@scesgo.com.br>, Message-ID: <f87489b9d69d1ab8977583cd2f961cc6@www.salutesolucoes.com>, mail_id: 8p0jGDEgNGH2, Hits: 18.549, size: 84734, queued_as: 81DAD560347, dkim_id=@salutesolucoes.com, 835 ms
    Feb  4 09:18:54 serv14 postfix/smtp[5472]: 4843356068F: to=<boleto@scesgo.com.br>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.3, delays=0.5/0/0/0.84, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 81DAD560347)
    Feb  4 09:18:54 serv14 postfix/qmgr[3102]: 4843356068F: removed
    Feb  4 09:18:54 serv14 dovecot: lda(boleto@scesgo.com.br): sieve: msgid=<f87489b9d69d1ab8977583cd2f961cc6@www.salutesolucoes.com>: stored mail into mailbox 'INBOX'
    Feb  4 09:18:54 serv14 postfix/pipe[5491]: 81DAD560347: to=<boleto@scesgo.com.br>, relay=dovecot, delay=0.21, delays=0.08/0/0/0.12, dsn=2.0.0, status=sent (delivered via dovecot service)
    Feb  4 09:18:54 serv14 postfix/qmgr[3102]: 81DAD560347: removed
    Feb  4 09:18:55 serv14 dovecot: pop3-login: Login: user=<danilo@scesgo.com.br>, method=PLAIN, rip=201.22.164.184, lip=66.7.220.30, mpid=5529
    Feb  4 09:18:55 serv14 dovecot: pop3(danilo@scesgo.com.br): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
    Feb  4 09:19:01 serv14 postfix/smtpd[5519]: connect from localhost.localdomain[127.0.0.1]
    Feb  4 09:19:01 serv14 postfix/smtpd[5519]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
    Feb  4 09:19:01 serv14 postfix/smtpd[5519]: disconnect from localhost.localdomain[127.0.0.1]
    Feb  4 09:19:01 serv14 dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Feb  4 09:19:01 serv14 dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The log contains only pop3 login attempts, no imap connects. Please post the dovecot.conf file.
     
  5. EckyBrazz

    EckyBrazz New Member

    Code:
    listen = *,[::]
    protocols = imap pop3
    auth_mechanisms = plain login
    disable_plaintext_auth = no
    log_timestamp = "%Y-%m-%d %H:%M:%S "
    mail_privileged_group = vmail
    ssl_cert = </etc/postfix/smtpd.cert
    ssl_key = </etc/postfix/smtpd.key
    passdb {
      args = /etc/dovecot/dovecot-sql.conf
      driver = sql
    }
    userdb {
      args = /etc/dovecot/dovecot-sql.conf
      driver = sql
    }
    plugin {
      quota = dict:user::file:/var/vmail/%d/%n/.quotausage
      sieve=/var/vmail/%d/%n/.sieve
    }
    service auth {
      unix_listener /var/spool/postfix/private/auth {
        group = postfix
        mode = 0660
        user = postfix
      }
      unix_listener auth-userdb {
        group = vmail
        mode = 0600
        user = vmail
      }
      user = root
    }
    protocol imap {
      mail_plugins = quota imap_quota
    }
    protocol pop3 {
      pop3_uidl_format = %08Xu%08Xv
      mail_plugins = quota
    }
    protocol lda {
      mail_plugins = sieve quota
    }
    
    
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    This looks fine.Please post the output of:

    netstat -tap

    and

    iptables -L
     
  7. EckyBrazz

    EckyBrazz New Member

    netstat -tap
    Code:
    root@serv14:/etc/dovecot# netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 *:ssh                   *:*                     LISTEN      924/sshd
    tcp        0      0 localhost.localdom:9030 *:*                     LISTEN      2944/php-fpm.conf)
    tcp        0      0 localhost.localdom:9000 *:*                     LISTEN      2944/php-fpm.conf)
    tcp        0      0 localhost.localdo:10024 *:*                     LISTEN      1240/amavisd (maste
    tcp        0      0 localhost.localdo:10025 *:*                     LISTEN      3091/master
    tcp        0      0 *:mysql                 *:*                     LISTEN      4257/mysqld
    tcp        0      0 *:submission            *:*                     LISTEN      3091/master
    tcp        0      0 *:pop3                  *:*                     LISTEN      1133/dovecot
    tcp        0      0 *:imap2                 *:*                     LISTEN      1133/dovecot
    tcp        0      0 *:http                  *:*                     LISTEN      2798/nginx
    tcp        0      0 *:http-alt              *:*                     LISTEN      2798/nginx
    tcp        0      0 *:81                    *:*                     LISTEN      3335/apache2
    tcp        0      0 *:tproxy                *:*                     LISTEN      2798/nginx
    tcp        0      0 *:8082                  *:*                     LISTEN      2798/nginx
    tcp        0      0 localhost.localdom:9011 *:*                     LISTEN      2944/php-fpm.conf)
    tcp        0      0 *:8083                  *:*                     LISTEN      2798/nginx
    tcp        0      0 *:ftp                   *:*                     LISTEN      3113/pure-ftpd (SER
    tcp        0      0 localhost.localdom:9013 *:*                     LISTEN      2944/php-fpm.conf)
    tcp        0      0 scesgo.com.br:domain    *:*                     LISTEN      1120/named
    tcp        0      0 dns25513.dizinc.:domain *:*                     LISTEN      1120/named
    tcp        0      0 dns25514.dizinc.:domain *:*                     LISTEN      1120/named
    tcp        0      0 serv14.vecks.com:domain *:*                     LISTEN      1120/named
    tcp        0      0 localhost.locald:domain *:*                     LISTEN      1120/named
    tcp        0      0 localhost.localdom:9015 *:*                     LISTEN      2944/php-fpm.conf)
    tcp        0      0 localhost.lo:postgresql *:*                     LISTEN      1265/postgres
    tcp        0      0 *:smtp                  *:*                     LISTEN      3091/master
    tcp        0      0 localhost.localdoma:953 *:*                     LISTEN      1120/named
    tcp        0      0 scesgo.com.br:https     *:*                     LISTEN      2798/nginx
    tcp        0      0 localhost.localdom:2812 *:*                     LISTEN      3429/monit
    tcp        0      0 localhost.localdom:9021 *:*                     LISTEN      2944/php-fpm.conf)
    tcp        0      0 *:6081                  *:*                     LISTEN      3165/varnishd
    tcp        0      0 *:41121                 *:*                     LISTEN      3136/perl
    tcp        0      0 *:imaps                 *:*                     LISTEN      1133/dovecot
    tcp        0      0 localhost.localdom:6082 *:*                     LISTEN      3164/varnishd
    tcp        0      0 localhost.localdom:9026 *:*                     LISTEN      2944/php-fpm.conf)
    tcp        0      0 *:pop3s                 *:*                     LISTEN      1133/dovecot
    ]tcp        0      0 scesgo.com.br:http      201-15-113-25.gna:50592 ESTABLISHED 2799/nginx: worker
    tcp        0      0 localhost.localdo:mysql localhost.localdo:60604 ESTABLISHED 4257/mysqld
    tcp        0      0 scesgo.com.br:http      187.113.38.202.st:37497 ESTABLISHED 2799/nginx: worker
    tcp        0      0 localhost.localdo:mysql localhost.localdo:60600 ESTABLISHED 4257/mysqld
    tcp        0 385476 scesgo.com.br:http      189-72-210-28.gna:49569 ESTABLISHED 2803/nginx: worker
    tcp        0 114372 scesgo.com.br:http      189-74-52-71.gnal:61290 ESTABLISHED 2800/nginx: worker
    tcp        0      0 scesgo.com.br:http      201-15-113-25.gna:50582 ESTABLISHED 2799/nginx: worker
    tcp        0      0 localhost.localdo:60604 localhost.localdo:mysql ESTABLISHED 5242/smtpd
    tcp        0  43645 scesgo.com.br:http      189-74-52-71.gnal:61293 ESTABLISHED 2800/nginx: worker
    tcp        0 119520 scesgo.com.br:http      187.115.67.17.sta:58437 ESTABLISHED 2803/nginx: worker
    tcp        0 250560 scesgo.com.br:http      187-032-127-109.s:45524 ESTABLISHED 2799/nginx: worker
    tcp        0      0 scesgo.com.br:http      189-70-160-137.use:2102 ESTABLISHED 2801/nginx: worker
    tcp        0      0 scesgo.com.br:http      201.86.184.50.dyna:3432 TIME_WAIT   -
    tcp        0      0 scesgo.com.br:http      189-72-231-21.e.gn:1386 ESTABLISHED 2800/nginx: worker
    tcp        0      0 scesgo.com.br:http      201-15-113-25.gna:50590 ESTABLISHED 2799/nginx: worker
    tcp        0      0 localhost.localdo:60603 localhost.localdo:mysql ESTABLISHED 5242/smtpd
    tcp        0      0 scesgo.com.br:http      201.86.184.50.dyna:3430 TIME_WAIT   -
    tcp        0      0 serv14.vecks.com.:55658 kudan.canonical.co:http TIME_WAIT   -
    tcp        0      0 localhost.localdo:mysql localhost.localdo:60606 ESTABLISHED 4257/mysqld
    tcp        0      0 localhost.localdo:mysql localhost.localdo:60605 ESTABLISHED 4257/mysqld
    tcp        0      0 serv14.vecks.com.:60787 haetae.canonical.c:http TIME_WAIT   -
    tcp        0 220704 scesgo.com.br:http      177.157.94.147.dyn:1401 ESTABLISHED 2800/nginx: worker
    tcp        0      0 scesgo.com.br:http      201-15-113-25.gna:50585 ESTABLISHED 2799/nginx: worker
    tcp        0      0 scesgo.com.br:http      201-15-113-25.gna:50591 ESTABLISHED 2799/nginx: worker
    tcp        0      0 localhost.localdo:60600 localhost.localdo:mysql ESTABLISHED 7596/trivial-rewrit
    tcp        0      0 scesgo.com.br:http      189-72-231-21.e.gn:1390 ESTABLISHED 2800/nginx: worker
    tcp        0      0 localhost.localdo:60599 localhost.localdo:mysql ESTABLISHED 7816/proxymap
    tcp        0      0 scesgo.com.br:http      189-72-231-21.e.gn:1384 ESTABLISHED 2800/nginx: worker
    tcp        0      0 scesgo.com.br:smtp      50.22.82.220-stat:58652 TIME_WAIT   -
    tcp        0      0 localhost.localdo:10025 localhost.localdo:58816 TIME_WAIT   -
    tcp        0      0 localhost.localdo:mysql localhost.localdo:60603 ESTABLISHED 4257/mysqld
    tcp        0      0 serv14.vecks.com.:38046 odd.varnish-softwa:http TIME_WAIT   -
    tcp        0      0 localhost.localdo:60602 localhost.localdo:mysql ESTABLISHED 5242/smtpd
    tcp        0      0 localhost.localdo:mysql localhost.localdo:60442 ESTABLISHED 4257/mysqld
    tcp        0  55068 scesgo.com.br:http      189-74-52-71.gnal:61294 ESTABLISHED 2800/nginx: worker
    tcp        0 115784 scesgo.com.br:http      189-74-52-71.gnal:61292 ESTABLISHED 2800/nginx: worker
    tcp        0      0 serv14.vecks.com.:45655 jatoba.canonical.c:http TIME_WAIT   -
    tcp        0  48008 scesgo.com.br:http      189-74-52-71.gnal:64878 ESTABLISHED -
    tcp        0      0 scesgo.com.br:pop3      serv192.scesgo.co:50865 TIME_WAIT   -
    tcp        0      0 localhost.localdo:mysql localhost.localdo:60601 ESTABLISHED 4257/mysqld
    tcp        0      0 localhost.localdo:10025 localhost.localdo:58756 TIME_WAIT   -
    tcp        0 108724 scesgo.com.br:http      189-74-52-71.gnal:61288 ESTABLISHED 2800/nginx: worker
    tcp        0      0 scesgo.com.br:http      201.86.184.50.dyna:3433 TIME_WAIT   -
    tcp        0      0 scesgo.com.br:http      187.4.99.33:50676       ESTABLISHED 2800/nginx: worker
    tcp        0      0 serv14.vecks.com.:45631 jatoba.canonical.c:http TIME_WAIT   -
    tcp        0 213250 scesgo.com.br:http      201.22.177.140.dy:rootd FIN_WAIT1   -
    tcp        0      0 scesgo.com.br:http      187.4.99.33:50698       ESTABLISHED 2800/nginx: worker
    tcp        0     36 dns25513.dizinc.com:ssh 177.17.199.240.dy:46833 ESTABLISHED 2469/0
    tcp        0      0 localhost.localdo:10025 localhost.localdo:58818 ESTABLISHED 7637/smtpd
    tcp        0      0 localhost.localdo:mysql localhost.localdo:60614 ESTABLISHED 4257/mysqld
    tcp        0      0 localhost.localdo:mysql localhost.localdo:60602 ESTABLISHED 4257/mysqld
    tcp        0      0 scesgo.com.br:http      189-72-231-21.e.gn:1396 ESTABLISHED 2800/nginx: worker
    tcp        0      0 localhost.localdo:58821 localhost.localdo:10025 ESTABLISHED 7835/amavisd (ch2-a
    tcp        0      0 localhost.localdo:10025 localhost.localdo:58821 ESTABLISHED 7841/smtpd
    tcp        0      0 scesgo.com.br:http      201-15-113-25.gna:50583 ESTABLISHED 2799/nginx: worker
    tcp        0      0 serv14.vecks.com.:56795 scandium.canonical:http TIME_WAIT   -
    tcp        0      0 serv14.vecks.com.:35984 orobas.canonical.c:http TIME_WAIT   -
    tcp        0 283140 scesgo.com.br:http      201-15-83-128.gnac:3945 ESTABLISHED 2803/nginx: worker
    tcp        0      0 scesgo.com.br:http      189-70-160-137.use:2094 ESTABLISHED 2801/nginx: worker
    tcp        0      0 scesgo.com.br:http      187.4.99.33:50674       ESTABLISHED 2800/nginx: worker
    tcp        0      0 localhost.localdo:60442 localhost.localdo:mysql ESTABLISHED 7175/amavisd (ch7-a
    tcp        0      0 scesgo.com.br:http      189-72-231-21.e.gn:1382 ESTABLISHED 2800/nginx: worker
    tcp        0      0 scesgo.com.br:http      189-72-231-21.e.gn:1380 ESTABLISHED 2800/nginx: worker
    tcp        0      0 serv14.vecks.com.:59141 obake.canonical.co:http TIME_WAIT   -
    tcp        0      0 scesgo.com.br:http      201-15-113-25.gna:50584 ESTABLISHED 2799/nginx: worker
    tcp        0      0 localhost.localdo:60164 localhost.localdo:mysql TIME_WAIT   -
    tcp        0      0 scesgo.com.br:pop3      serv192.scesgo.co:49409 TIME_WAIT   -
    tcp        0      0 scesgo.com.br:http      187.4.99.33:50675       ESTABLISHED 2800/nginx: worker
    tcp        0      0 localhost.localdo:60614 localhost.localdo:mysql ESTABLISHED 7835/amavisd (ch2-a
    tcp        0      0 localhost.localdo:60605 localhost.localdo:mysql ESTABLISHED 7816/proxymap
    tcp        0 132728 scesgo.com.br:http      189-74-52-71.gnal:61289 ESTABLISHED 2800/nginx: worker
    tcp        0      0 localhost.localdom:http localhost.localdo:53955 TIME_WAIT   -
    tcp        0 388800 scesgo.com.br:http      187-032-127-109.s:45528 ESTABLISHED 2799/nginx: worker
    tcp        0      0 scesgo.com.br:http      187.4.99.33:50677       ESTABLISHED 2800/nginx: worker
    tcp        0  79072 scesgo.com.br:http      189-74-52-71.gnal:64879 ESTABLISHED -
    tcp        0      0 scesgo.com.br:http      187.4.99.33:50672       ESTABLISHED 2800/nginx: worker
    tcp        0      0 localhost.localdo:60606 localhost.localdo:mysql ESTABLISHED 7816/proxymap
    tcp        0  66364 scesgo.com.br:http      189-74-52-71.gnal:64814 ESTABLISHED 2799/nginx: worker
    tcp        0      0 scesgo.com.br:http      187.113.38.202.st:37488 ESTABLISHED 2800/nginx: worker
    tcp        0      0 localhost.localdo:57652 localhost.localdoma:ftp TIME_WAIT   -
    tcp        0      0 scesgo.com.br:http      201-15-113-25.gna:50581 ESTABLISHED 2799/nginx: worker
    tcp        0      0 scesgo.com.br:http      177.157.94.147.dyn:1380 ESTABLISHED 2800/nginx: worker
    tcp        0      0 localhost.localdo:mysql localhost.localdo:60599 ESTABLISHED 4257/mysqld
    tcp        0      0 localhost.localdom:http localhost.localdo:53941 TIME_WAIT   -
    tcp        0      0 scesgo.com.br:http      187.4.99.33:50673       ESTABLISHED 2800/nginx: worker
    tcp        0      0 localhost.localdo:60601 localhost.localdo:mysql ESTABLISHED 7816/proxymap
    tcp        0      0 scesgo.com.br:http      187.113.38.202.st:37489 ESTABLISHED 2800/nginx: worker
    tcp        0      0 scesgo.com.br:http      189-72-231-21.e.gn:1388 ESTABLISHED 2800/nginx: worker
    tcp        0      0 localhost.localdo:58818 localhost.localdo:10025 ESTABLISHED 7175/amavisd (ch7-a
    tcp        0      0 scesgo.com.br:http      189-72-231-21.e.gn:1395 ESTABLISHED 2800/nginx: worker
    tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      924/sshd
    tcp6       0      0 [::]:submission         [::]:*                  LISTEN      3091/master
    tcp6       0      0 [::]:pop3               [::]:*                  LISTEN      1133/dovecot
    tcp6       0      0 [::]:imap2              [::]:*                  LISTEN      1133/dovecot
    tcp6       0      0 [::]:ftp                [::]:*                  LISTEN      3113/pure-ftpd (SER
    tcp6       0      0 [::]:domain             [::]:*                  LISTEN      1120/named
    tcp6       0      0 [::]:smtp               [::]:*                  LISTEN      3091/master
    tcp6       0      0 ip6-localhost:953       [::]:*                  LISTEN      1120/named
    tcp6       0      0 [::]:6081               [::]:*                  LISTEN      3165/varnishd
    tcp6       0      0 [::]:imaps              [::]:*                  LISTEN      1133/dovecot
    tcp6       0      0 [::]:pop3s              [::]:*                  LISTEN      1133/dovecot
    
    Code:
    root@serv14:/etc/dovecot# iptables -L
    Chain INPUT (policy DROP)
    target     prot opt source               destination
    fail2ban-dovecot-pop3imap  tcp  --  anywhere             anywhere             multiport dports pop3,pop3s,imap2,imaps
    fail2ban-pureftpd  tcp  --  anywhere             anywhere             multiport dports ftp
    fail2ban-ssh  tcp  --  anywhere             anywhere             multiport dports ssh
    DROP       tcp  --  anywhere             loopback/8
    ACCEPT     all  --  anywhere             anywhere             state RELATED,ESTABLISHED
    ACCEPT     all  --  anywhere             anywhere
    DROP       all  --  base-address.mcast.net/4  anywhere
    PUB_IN     all  --  anywhere             anywhere
    PUB_IN     all  --  anywhere             anywhere
    PUB_IN     all  --  anywhere             anywhere
    PUB_IN     all  --  anywhere             anywhere
    PUB_IN     all  --  anywhere             anywhere
    DROP       all  --  anywhere             anywhere
    
    Chain FORWARD (policy DROP)
    target     prot opt source               destination
    ACCEPT     all  --  anywhere             anywhere             state RELATED,ESTABLISHED
    DROP       all  --  anywhere             anywhere
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    PUB_OUT    all  --  anywhere             anywhere
    PUB_OUT    all  --  anywhere             anywhere
    PUB_OUT    all  --  anywhere             anywhere
    PUB_OUT    all  --  anywhere             anywhere
    PUB_OUT    all  --  anywhere             anywhere
    
    Chain INT_IN (0 references)
    target     prot opt source               destination
    ACCEPT     icmp --  anywhere             anywhere
    DROP       all  --  anywhere             anywhere
    
    Chain INT_OUT (0 references)
    target     prot opt source               destination
    ACCEPT     icmp --  anywhere             anywhere
    ACCEPT     all  --  anywhere             anywhere
    
    Chain PAROLE (21 references)
    target     prot opt source               destination
    ACCEPT     all  --  anywhere             anywhere
    
    Chain PUB_IN (5 references)
    target     prot opt source               destination
    ACCEPT     icmp --  anywhere             anywhere             icmp destination-unreachable
    ACCEPT     icmp --  anywhere             anywhere             icmp echo-reply
    ACCEPT     icmp --  anywhere             anywhere             icmp time-exceeded
    ACCEPT     icmp --  anywhere             anywhere             icmp echo-request
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:ftp-data
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:ftp
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:22
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:smtp
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:domain
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:http
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:pop3
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:imap2
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:https
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:submission
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:imaps
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:pop3s
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:ssh
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:5232
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:2812
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:http-alt
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:tproxy
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:8082
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:8083
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:webmin
    PAROLE     tcp  --  anywhere             anywhere             tcp dpts:40000:45000
    ACCEPT     udp  --  anywhere             anywhere             udp dpt:domain
    ACCEPT     udp  --  anywhere             anywhere             udp dpt:mysql
    ACCEPT     udp  --  anywhere             anywhere             udp dpt:5232
    DROP       icmp --  anywhere             anywhere
    DROP       all  --  anywhere             anywhere
    
    Chain PUB_OUT (5 references)
    target     prot opt source               destination
    ACCEPT     all  --  anywhere             anywhere
    
    Chain fail2ban-dovecot-pop3imap (1 references)
    target     prot opt source               destination
    RETURN     all  --  anywhere             anywhere
    
    Chain fail2ban-pureftpd (1 references)
    target     prot opt source               destination
    RETURN     all  --  anywhere             anywhere
    
    Chain fail2ban-ssh (1 references)
    target     prot opt source               destination
    RETURN     all  --  anywhere             anywhere
    You have new mail in /var/mail/root
    root@serv14:/etc/dovecot#
    
     
  8. EckyBrazz

    EckyBrazz New Member

    please, does anybody has any tips to resolve this issue ?
     
  9. EckyBrazz

    EckyBrazz New Member

    Yesterday I had one error in the log files after you asked me to restart MySQL.

    Code:
    Feb 4 09:13:52 serv14 dovecot: auth-worker: Error: mysql: Query failed, retrying: MySQL server has gone away
     
    Last edited: Feb 5, 2013
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    This error is ok as it indicates that mysql was restarted while dovecot was connected to mysql.

    To ensure that this is not a firewall isue, please run:

    iptables --flush

    which will remove all rules until you reboot the server or restartthe firewall and try to connect to imap again.
     

Share This Page