[Dovecot] Rootless installation gets ssl-parameters.dat errors
Daniel Bretoi
daniel at vinq.com
Wed Mar 19 02:55:08 EET 2008
In the logfile, i see this:
dovecot: Mar 18 16:24:30 Error: ssl-build-param: Can't create
temporary SSL parameters file /var/lib/dovecot/ssl-parameters.dat.tmp:
Permission denied
dovecot: Mar 18 16:24:30 Error: child 21836 (ssl-build-param) returned
error 89
dovecot: Mar 18 16:24:30 Error: link(/var/lib/dovecot/ssl-
parameters.dat, /usr/local/sb/daniel/rm/trunk/var/run/dovecot/login/
ssl-parameters.dat.tmp) failed: Permission denied
dovecot: Mar 18 16:24:30 Error: file_copy(/var/lib/dovecot/ssl-
parameters.dat, /usr/local/sb/daniel/rm/trunk/var/run/dovecot/login/
ssl-parameters.dat) failed: No such file or directory
It is true that I as a user do not have permissions to read this
file, however, I followed all the instructions to run as a rootless
user. I don't seem to be able to specify anywhere where this ssl-
parameters file should be copied from.
Please note, I'm running this as user daniel (not root).
Btw, there seems to have been a ssl_parameters_file keyword in the
past, but it doesn't work with my version (nor with the latest 1.0.13).
non-SSL IMAP works fine, but obviously SSL has issues.
Thank you in advance for any help,
Daniel
#### SYSTEM INFO #####################################
$ dovecot --version
1.0.rc15
$ uname -a
Linux myhost.com 2.6.22.18-vs2.3.0.32.1 #1 SMP Mon Feb 11 07:07:23 EST
2008 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/redhat-release
CentOS release 5 (Final)
#### CONFIG FILE ####################################
$ perl -e 'for (<>){ next if /^\s*(#|$)/; print $_; }' dovecot.conf
base_dir = /usr/local/sb/daniel/rm/trunk/var/run/dovecot
protocols = imap imaps
protocol imap {
listen = *:8300
ssl_listen = *:8301
}
log_path = /usr/local/sb/daniel/rm/trunk/var/logs/dovecot.log
info_log_path = /usr/local/sb/daniel/rm/trunk/var/logs/dovecot.info.log
ssl_cert_file = /usr/local/sb/daniel/rm/trunk/etc/dovecot.cert.pem
ssl_key_file =/usr/local/sb/daniel/rm/trunk/etc/dovecot.private.pem
login_chroot = no
login_user = daniel
login_process_size = 64
login_greeting = daniel's Dovecot ready.
mail_location = mbox:/usr/local/sb/daniel/rm/trunk/var/mail:INBOX=/usr/
local/sb/daniel/rm/trunk/var/mail/INBOX
mail_debug = yes
protocol imap {
}
protocol pop3 {
}
protocol lda {
postmaster_address = postmaster at example.com
}
auth default {
mechanisms = plain
passdb passwd-file {
args = /usr/local/sb/daniel/rm/trunk/var/dovecot.passwd
}
userdb passwd {
}
userdb passwd-file {
args = /usr/local/sb/daniel/rm/trunk/var/dovecot.passwd
}
user = daniel
}
dict {
}
plugin {
}
More information about the dovecot
mailing list