Страница 1 из 1

dovecot+thunderbird+imap

Добавлено: 2016-02-02 20:32:27
orachimary
Прошу помощи сообщества. Настроил связку exim+dovecot+mysql с SSL. Все отлично работает. Вот только есть странность одна, даже не знаю куда копать. Связано это с почтовым клиентом thunderbird. Клиенты работают с IMAP. Письма приходят/отправляются. Только сам thunderbird периодически в статусе загружает сообщения, но новых при этом нет. В логах dovecot такое:

Код: Выделить всё

Feb 02 21:59:54 imap-login: Info: Login: user=<admin@keks.com>, method=CRAM-MD5, rip=192.168.0.100, lip=172.16.0.10, mpid=3071, TLS, session=<GVk0bswq0eOsE
Feb 02 21:59:54 imap(admin@keks.com): Info: Connection closed: read(size=8052) failed: Connection reset by peer (UID fetch running for 0.005 + waiting i for 0.068 secs, 35 B in + 1228896+8192 B out, state=wait-output) in=140 out=1237758
Feb 02 21:59:54 imap-login: Info: Login: user=<admin@keks.com>, method=CRAM-MD5, rip=192.168.0.100, lip=172.16.0.10, mpid=3074, TLS, session=<gW85bswq0+OsE
Feb 02 21:59:54 imap(admin@keks.com): Info: Connection closed: read(size=8052) failed: Connection reset by peer (UID fetch running for 0.007 + waiting i for 0.070 secs, 35 B in + 1203983+8192 B out, state=wait-output) in=140 out=1212845
Feb 02 21:59:54 imap-login: Info: Login: user=<admin@keks.com>, method=CRAM-MD5, rip=192.168.0.100, lip=172.16.0.10, mpid=3076, TLS, session=<zVw+bswq2OOsE
Feb 02 21:59:54 imap(admin@keks.com): Info: Connection closed: read(size=8052) failed: Connection reset by peer (UID fetch running for 0.004 + waiting i for 0.082 secs, 35 B in + 1478023+8192 B out, state=wait-output) in=140 out=1486885
Feb 02 21:59:54 imap-login: Info: Login: user=<admin@keks.com>, method=CRAM-MD5, rip=192.168.0.100, lip=172.16.0.10, mpid=3078, TLS, session=<L4dAbswq2eOsE
Feb 02 21:59:55 imap(admin@keks.com): Info: Connection closed: read(size=8052) failed: Connection reset by peer (UID fetch running for 0.005 + waiting i for 0.072 secs, 35 B in + 1287026+8192 B out, state=wait-output) in=140 out=1295888
Feb 02 21:59:55 imap-login: Info: Login: user=<admin@keks.com>, method=CRAM-MD5, rip=192.168.0.100, lip=172.16.0.10, mpid=3080, TLS, session=<F2pFbswq2uOsE
Feb 02 21:59:55 imap(admin@keks.com): Info: Connection closed: read(size=8052) failed: Connection reset by peer (UID fetch running for 0.004 + waiting i for 0.041 secs, 35 B in + 846902+8192 B out, state=wait-output) in=140 out=855764
Сам dovecot настроен стандартно:

Код: Выделить всё

protocols = imap pop3
shutdown_clients = yes
listen = 172.16.0.10,127.0.0.1
base_dir = /var/run/dovecot/
log_path = /var/log/dovecot.log
login_greeting = Dovecot ready.
first_valid_uid = 79
auth_default_realm = keks.com
auth_mechanisms = CRAM-MD5
disable_plaintext_auth = yes
dotlock_use_excl = yes
mail_location = maildir:/var/mail/%d/%u
mail_privileged_group = mail

passdb {
  args = /etc/dovecot/dovecot-mysql.conf
  driver = sql
}

service auth {
  unix_listener auth-client {
    group = exim
    mode = 0660
    user = exim
  }
  unix_listener auth-master {
    group = exim
    mode = 0600
    user = exim
  }
  user = root
}
ssl = yes
ssl_cert = </etc/mail/ssl/keks.com.pem
ssl_key = </etc/mail/ssl/keks.com.pem
ssl_verify_client_cert = no
ssl_protocols = !SSLv2 !SSLv3
ssl_cipher_list = ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS

userdb {
  args = /etc/dovecot/dovecot-mysql.conf
  driver = sql
}

verbose_proctitle = yes

protocol imap {
  imap_client_workarounds = tb-extra-mailbox-sep
}

protocol pop3 {
  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
  pop3_uidl_format = %08Xu%08Xv
}

protocol lda {
  auth_socket_path = /var/run/dovecot/auth-master
  postmaster_address = admin@keks.com
}


############IMAP mailboxe's####################

namespace inbox {
  inbox = yes
  #prefix = INBOX. # the namespace prefix isn't added again to the mailbox names.

  mailbox Trash {
    auto = subscribe
    special_use = \Trash
 }
 mailbox Drafts {
    auto = subscribe
    special_use = \Drafts
  }
  mailbox Sent {
    auto = subscribe # autocreate and autosubscribe the Sent mailbox
    special_use = \Sent
  }
#  mailbox Spam {
#    auto = subscribe # autocreate Spam, but don't autosubscribe
#    special_use = \Junk
#  }
}
Клиенты настраиваются с такими настройками:

Код: Выделить всё

SMTP 587 STARTTLS Encrypted password
IMAP 143 STARTTLS Encrypted password

dovecot+thunderbird+imap

Добавлено: 2016-10-17 12:21:04
Sc@zy
Добрый день,

Подобная проблема происходит в логах довекот, но при синхронизации аутлука.
Ящик размером 30Гб

Oct 17 12:13:01 imap(xxx): Info: Connection closed (UID FETCH running for 0.052 + waiting for 59.977 secs, 60 B in + 2165625+8192 B out) in=200 out=2166615
Oct 17 12:13:01 imap-login: Info: Login: user=<xxx>, method=PLAIN, rip=xxx, lip=xxx, mpid=1111

Кто нибудь может дать совет по проблеме?