Rainer Ophoven
2010-Sep-29 19:39 UTC
[Dovecot] Problem with dovecot/deliver and SSL in 2.0.4
I'm facing a problem with dovecot/deliver and SSL in 2.0.4 which did not
occur in earlier releases:
I get this error message:
postfix/local[18259]: 687CE86514: to=<rainer at homenet.local>,
relay=local, delay=0.08, delays=0.02/0/0/0.06, dsn=5.3.0, status=bounced
(Command died with status 89: "/usr/libexe
c/dovecot/deliver". Command output: doveconf: Fatal: Error in
configuration file /etc/dovecot/dovecot.conf: ssl enabled, but ssl_key
not set )
My System is:
Linux mylfs 2.6.27.53 #1 Mon Aug 30 14:28:06 CEST 2010 i686 pentium3
i386 GNU/Linux
and dovecot -n reads like this:
# 2.0.3: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.27.53 i686
auth_mechanisms = plain login digest-md5 cram-md5
disable_plaintext_auth = no
mail_location = maildir:~/Maildir
passdb {
args = dovecot
driver = pam
}
passdb {
args = /etc/mail/dovecot/dovecot-cram-md5.pwd
driver = passwd-file
}
service auth {
user = root
}
service imap-login {
inet_listener imap {
address = *
}
inet_listener imaps {
address = *
}
}
service pop3-login {
inet_listener pop3 {
address = 192.168.1.2
}
inet_listener pop3s {
address = 192.168.1.2
}
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
driver = passwd
}
protocol pop3 {
pop3_client_workarounds = outlook-no-nuls
pop3_uidl_format = %08Xu%08Xv
}
protocol lda {
postmaster_address = postmaster at homenet.local
sendmail_path = /usr/bin/mutt
}
I reverted to 2.0.3 and the error does not occur anymore.
Rainer Ophoven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rainer.vcf
Type: text/x-vcard
Size: 178 bytes
Desc: not available
URL:
<http://dovecot.org/pipermail/dovecot/attachments/20100929/2c4070b2/attachment-0002.vcf>
Timo Sirainen
2010-Sep-29 21:36 UTC
[Dovecot] Problem with dovecot/deliver and SSL in 2.0.4
On Wed, 2010-09-29 at 21:39 +0200, Rainer Ophoven wrote:> c/dovecot/deliver". Command output: doveconf: Fatal: Error in > configuration file /etc/dovecot/dovecot.conf: ssl enabled, but ssl_key > not set )This happens somewhat randomly depending on what order "find" command finds some files when running configure. http://hg.dovecot.org/dovecot-2.0/rev/65855df71cf4 fixes this.
Burckhard Schmidt
2010-Sep-30 11:19 UTC
[Dovecot] Problem with dovecot/deliver and SSL in 2.0.4
On 29.09.2010 23:36, Timo Sirainen wrote:> On Wed, 2010-09-29 at 21:39 +0200, Rainer Ophoven wrote: > >> c/dovecot/deliver". Command output: doveconf: Fatal: Error in >> configuration file /etc/dovecot/dovecot.conf: ssl enabled, but ssl_key >> not set ) > > This happens somewhat randomly depending on what order "find" command > finds some files when running configure. > http://hg.dovecot.org/dovecot-2.0/rev/65855df71cf4 fixes this. > >I have seen this problem first time after upgrading to 2.04. Before I have had following entry inside postfix/master.cf: dovecot unix - n n - - pip flags=DRhu user=sysdov:sysdov argv=.../libexec/dovecot/deliver -c .../etc/dovecot/dovecot.conf -f ${sender} -d ${user} I "solved" this problem by deleting "-c .../etc/dovecot/dovecot.conf". Question: Is it required giving "-c .../etc/dovecot/dovecot.conf" or not? Regards -- Mit freundlichen Gruessen --- Burckhard Schmidt