[Akonadi] [Bug 317790] New: kmail triggers lots of "disconnected/no auth attempts" log entries in Dovecot

Kevin Bader kevin at zenshock.net
Wed Apr 3 18:16:08 BST 2013


https://bugs.kde.org/show_bug.cgi?id=317790

            Bug ID: 317790
           Summary: kmail triggers lots of "disconnected/no auth attempts"
                    log entries in Dovecot
    Classification: Unclassified
           Product: Akonadi
           Version: 4.10
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: IMAP resource
          Assignee: ervin at kde.org
          Reporter: kevin at zenshock.net
                CC: kdepim-bugs at kde.org, vkrause at kde.org

While kmail seems to work with my dovecot server, sometimes dovecot fills the
logs with a couple of messages like the following every second:

dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>,
rip=999.99.99.99, lip=888.88.88.88, TLS, session=< sLcaRpHX9ABREGnJ >

The session is a different string on every line and the user field is never
filled. The only ways to stop the messages is shutting down the offending
akonadi system or restarting dovecot.

Important to note:
- logging in and using dovecot works, with various clients and also with this
akonadi/kmail client
- ssl = required, disable_plaintext_auth = yes

I really don't know why this happens, especially since logging in works (the
dovecot wiki says that this message means that the client is not configured for
TLS, which is obviously not the case). I appreciate any hints if you think this
is not a bug but a configuration error instead :-)

Best,
Kevin

PS: I'm setting the severity to normal instead of minor as this bug (if it is
one) generates megabytes of log files on my server every day.

Reproducible: Sometimes




The client:
$ kmail --version
Qt: 4.8.4
KDE Development Platform: 4.10.00
KMail: 4.10

The server:
$ uname -r
2.6.32-16-pve
$ dovecot --version
2.1.7
$ dovecot -n:
# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-16-pve x86_64 Ubuntu 12.10
auth_cache_size = 2 M
auth_cache_ttl = 1 weeks
auth_master_user_separator = *
dict {
  quota = pgsql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
first_valid_gid = 8
first_valid_uid = 999
hostname = mail.example.com
last_valid_gid = 8
last_valid_uid = 999
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
login_greeting = Dovecot ready
mail_gid = mail
mail_home = /var/vmail/%d/%n
mail_location = maildir:~/mail
mail_uid = vmail
maildir_very_dirty_syncs = yes
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character
vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy
include variables body enotify environment mailbox date ihave
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
    auto = subscribe
    special_use = \Drafts
  }
  mailbox Sent {
    auto = subscribe
    special_use = \Sent
  }
  mailbox Spam {
    auto = subscribe
    special_use = \Junk
  }
  mailbox Trash {
    auto = subscribe
    special_use = \Trash
  }
  prefix =
}
passdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
plugin {
  sieve = ~/.dovecot.sieve
  sieve_default = /var/lib/dovecot/sieve/default.sieve
  sieve_dir = ~/sieve
}
postmaster_address = postmaster at example.com
protocols = imap sieve
quota_full_tempfail = yes
service auth {
  unix_listener /var/spool/postfix/private/dovecot-auth {
    group = postfix
    mode = 0660
    user = postfix
  }
}
service imap-login {
  inet_listener imap {
    port = 0
  }
  inet_listener imaps {
    port = 993
  }
  process_min_avail = 2
  service_count = 0
}
service managesieve-login {
  inet_listener sieve {
    port = 2000
  }
  service_count = 0
}
ssl = required
ssl_cert = </etc/ssl/example.com.pem
ssl_cipher_list =
ALL:!LOW:!SSLv2:ALL:!aNULL:!ADH:!eNULL:!EXP:RC4+RSA:+HIGH:+MEDIUM
ssl_key = </etc/ssl/example.com.key
userdb {
  args = uid=999 gid=8
  driver = static
}
protocol lda {
  mail_plugins = " sieve"
}
protocol imap {
  mail_max_userip_connections = 30
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Kdepim-bugs mailing list