I installed the 4-30-2014 snapshot of OpenBSD 5.5 and haven't had a lot
of luck getting Dovecot 2.2.10p1 to work. I edited
/etc/ssl/dovecot-openssl.cnf and ran /usr/local/sbin/dovecot-mkcert.sh
When I try to connect to the IMAP server with Thunderbird, it fails with
the message stating it's unable to find the setting for your email
account. Has anyone seen anything like this?
May 5 21:21:25 gateway dovecot: master: Dovecot v2.2.10 starting up for
imap
May 5 21:21:25 gateway dovecot: master: Error: service(director):
pipe() failed: Too many open files
May 5 21:21:25 gateway dovecot: master: Error: service(dict): pipe()
failed: Too many open files
May 5 21:21:25 gateway dovecot: master: Error: service(config): pipe()
failed: Too many open files
May 5 21:21:25 gateway dovecot: master: Error: service(auth): pipe()
failed: Too many open files
May 5 21:21:25 gateway dovecot: master: Error: service(auth-worker):
pipe() failed: Too many open files
May 5 21:21:35 gateway dovecot: ssl-params: Fatal: Error reading
configuration: Timeout reading config from /var/dovecot/config
May 5 21:21:35 gateway dovecot: master: Error: service(ssl-params):
command startup failed, throttling for 2 secs
May 5 21:21:35 gateway dovecot: anvil: Fatal: Error reading
configuration: Timeout reading config from /var/dovecot/config
May 5 21:21:35 gateway dovecot: master: Error: service(anvil): command
startup failed, throttling for 2 secs
May 5 21:22:49 gateway postfix/smtpd[32416]: connect from
unknown[192.168.1.233]
May 5 21:22:49 gateway postfix/smtpd[32416]: disconnect from
unknown[192.168.1.233]
May 5 21:22:49 gateway postfix/smtpd[3700]: connect from
unknown[192.168.1.233]
May 5 21:22:49 gateway postfix/smtpd[3700]: disconnect from
unknown[192.168.1.233]
May 5 21:22:59 gateway dovecot: imap-login: Fatal: Error reading
configuration: Timeout reading config from /var/dovecot/config
May 5 21:22:59 gateway dovecot: master: Error: service(imap-login):
command startup failed, throttling for 2 secs
May 5 21:23:12 gateway postfix/smtpd[3700]: connect from
unknown[192.168.1.233]
May 5 21:23:12 gateway postfix/smtpd[32416]: connect from
unknown[192.168.1.233]
May 5 21:23:12 gateway postfix/smtpd[3700]: disconnect from
unknown[192.168.1.233]
May 5 21:23:12 gateway postfix/smtpd[32416]: disconnect from
unknown[192.168.1.233]
May 5 21:23:22 gateway dovecot: imap-login: Fatal: Error reading
configuration: Timeout reading config from /var/dovecot/config
May 5 21:23:22 gateway dovecot: master: Error: service(imap-login):
command startup failed, throttling for 4 secs
# ulimit
unlimited
#
uname -a
OpenBSD gateway.home.net 5.5 GENERIC.MP#91 amd64
# dovecot -n
# 2.2.10: /etc/dovecot/dovecot.conf
# OS: OpenBSD 5.5 amd64
first_valid_uid = 1000
imap_client_workarounds = delay-newmail tb-extra-mailbox-sep tb-lsub-flags
listen = 192.168.1.10
mbox_write_locks = fcntl
mmap_disable = yes
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix =
}
passdb {
driver = bsdauth
}
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
protocols = imap
ssl_cert = </etc/ssl/dovecotcert.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
driver = passwd
}