Dovecot upgrade issues

Associate
Joined
15 Apr 2008
Posts
1,031
Location
West Didsbury, Manchester
I don't know how many are dovecot savvy here but I thought I would ask as I am getting desperate!

Ok, so I updated today and it brought in the new dovecot 2.1.1. I had to create a new dovecot SSL file to get it to keep working, and now with that fixed it won't authenticate over imap.

My dovecot -n is:
Code:
# 2.1.1: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.8-1-ARCH i686  ext4
auth_mechanisms = plain digest-md5 cram-md5
auth_socket_path = /var/run/dovecot/auth-userdb
default_internal_user = vmail
disable_plaintext_auth = no
mail_location = maildir:/var/vmail/%d/%n/Maildir
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
passdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
postmaster_address = [email protected]
protocols = imap
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0666
    user = postfix
  }
  unix_listener auth-userdb {
    mode = 0600
    user = vmail
  }
}
service imap-login {
  inet_listener imap {
    port = 0
  }
  inet_listener imaps {
    ssl = no
  }
}
service pop3-login {
  inet_listener pop3s {
    ssl = no
  }
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
  args = uid=5000 gid=5000 home=/var/vmail/%d/%n/Maildir allow_all_users=yes
  driver = static
}
protocol lda {
  mail_plugins = sieve
}

and the error message I am recieving is:

Code:
ays=0.06/0/0/0.04, dsn=2.0.0, status=sent (delivered via dovecot service)
Mar  1 13:02:06 localhost postfix/qmgr[998]: 52ABB203E3: removed
Mar  1 13:02:24 localhost postfix/smtpd[1527]: connect from merlin.infradead.org[205.233.59.134]
Mar  1 13:02:24 localhost postfix/smtpd[1527]: B109B203E3: client=merlin.infradead.org[205.233.59.134]
Mar  1 13:02:24 localhost postfix/cleanup[1537]: B109B203E3: message-id=<[email protected]>
Mar  1 13:02:24 localhost postfix/qmgr[998]: B109B203E3: from=<linux-arm-kernel-bounces+ml=communistcode.co.uk@lists.infradead.org>, size=4999, nrcpt=1 (queue active)
Mar  1 13:02:24 localhost dovecot: lda([email protected]): msgid=<[email protected]>: saved mail to INBOX
Mar  1 13:02:24 localhost postfix/pipe[1540]: B109B203E3: to=<[email protected]>, relay=dovecot, delay=0.15, delays=0.11/0/0/0.04, dsn=2.0.0, status=sent (delivered via dovecot service)
Mar  1 13:02:24 localhost postfix/qmgr[998]: B109B203E3: removed
Mar  1 13:02:25 localhost postfix/smtpd[1527]: disconnect from merlin.infradead.org[205.233.59.134]
Mar  1 13:03:36 localhost dovecot: imap-login: Disconnected (no auth attempts in 0 secs): rip=195.171.99.130, lip=78.110.170.148
Mar  1 13:03:36 localhost dovecot: imap-login: Disconnected (no auth attempts in 0 secs): rip=195.171.99.130, lip=78.110.170.148

the line in question is:

Mar 1 13:03:36 localhost dovecot: imap-login: Disconnected (no auth attempts in 0 secs): rip=195.171.99.130, lip=78.110.170.148

Can anyone shed any light on this? The errors happen with thunderbird imap and also my roundcube configuration.
 
Ok, quick addition the Roundcube gives the error:

Mar 1 13:11:01 localhost dovecot: imap-login: Disconnected: Too many invalid commands (no auth attempts in 0 secs): rip=195.171.99.130, lip=78.110.170.148

I'm not sure what that means or why they're different though...
 
Fixed.

Archlinux had moved the default configs out to another location and I nerfed my ssl settings while fiddling.

Changing:

Code:
service imap-login {
  inet_listener imap {
    port = 0
  }
  inet_listener imaps {
    ssl = no
  }
}

to
Code:
service imap-login {
  inet_listener imap {
    port = 0
  }
  inet_listener imaps {
    port = 993
    ssl = yes
  }
}

fixed my issues.
 
Back
Top Bottom