On Tue, 2009-01-13 at 18:45 +0100, Jürgen Geuter wrote: > > The file is first created to $prefix/var/lib/dovecot/ssl-parameters.dat. > > From there it is either hard linked or copied to > > base_dir/login/ssl-parameters.dat. It's never deleted from the /var/lib/ > > directory. That's the reason it's generated there, so that after reboots > > Dovecot wouldn't always have to regenerate the ssl-parameters.dat. > > Ok, i rechecked: I got /var/lib/dovecot/ssl-parameters.dat but it is not > linked to /var/run/dovecot/login/ssl-parameters.dat, it's a completely > different file. And it is broken and has a length of 80Bytes. > > I deleted /var/run/dovecot/login/ssl-parameters.dat, shut down dovecot > and ran > "/usr/lib/dovecot/ssl-build-param /var/lib/dovecot/ssl-parameters.dat" > which fixed that file (brought it to 230 bytes). A restart of dovecot > copied that file to /var/run/dovecot/login/ssl-parameters.dat. So the > issue seems to be somewhat fixed though I still don't know why the > bogus /var/lib/dovecot/ssl-parameters.dat was created.
Well, the next v1.1 version gives this error in such situations: dovecot: Jan 13 13:08:37 Fatal: imap-login: Corrupted SSL parameters file: /usr/local/var/run/dovecot/login/ssl-parameters.dat (delete it and also the one in /usr/local/var/lib/dovecot)
signature.asc
Description: This is a digitally signed message part