[Dovecot] SSL strangeness with dovecot-lda in 2.0.4
Hello,
First of all, thank you for developing a fantastic IMAP server!
I've just upgraded to 2.0.4 (from 2.0.1) and when I try to run
/usr/lib/dovecot/deliver (either directly from the commandline, or from
within the MTA) I get the following error:
doveconf: Fatal: Error in configuration file
/etc/dovecot/dovecot.conf: ssl enabled, but
ssl_key not set
I converted my old config file settings using "dovecot -c
/etc/dovecot/dovecot.orig -n > /etc/dovecot/dovecot.conf" as some of the
option names had changed. The computer has been rebooted since the upgrade.
The odd thing is that "dovecot -n" says that ssl_key _is_ set:
[gerbil@pleione dovecot]$ dovecot -n
# 2.0.4: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.35-ARCH i686
listen = 127.0.0.1
mail_location = maildir:~/Common/Maildir
passdb {
driver = pam
}
service auth {
user = root
}
service imap {
process_limit = 5
}
service pop3 {
process_limit = 5
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
driver = passwd
}
protocol lda {
mail_plugins = sieve
postmaster_address = postmaster@localhost
}
Both of the .pem files do exist (they are unchanged from before the
upgrade), and are readable by root:
[gerbil@pleione dovecot]$ ls -al /etc/ssl/*/dovecot.pem
-rw-r--r-- 1 root root 1005 Nov 2 2009 /etc/ssl/certs/dovecot.pem
-rw------- 1 root root 887 Nov 2 2009 /etc/ssl/private/dovecot.pem
Any advice you can give would be gratefully received.
Many thanks,
Glyn
On Fri, 2010-10-01 at 16:36 +0100, Glyn Faulkner wrote:
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: ssl enabled, but ssl_key not set
Apply http://hg.dovecot.org/dovecot-2.0/rev/65855df71cf4 patch or wait for 2.0.5 which I'll release today.
Okay, will do.
Kiitos paljon! :)
Glyn
On Fri, 01 Oct 2010 16:44:43 +0100, Timo Sirainen tss@iki.fi wrote:
On Fri, 2010-10-01 at 16:36 +0100, Glyn Faulkner wrote:
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: ssl enabled, but ssl_key not set
Apply http://hg.dovecot.org/dovecot-2.0/rev/65855df71cf4 patch or wait for 2.0.5 which I'll release today.
participants (2)
-
Glyn Faulkner
-
Timo Sirainen