From: Mark Nienberg gmane@tippingmar.com Erick Calder wrote:
I've just installed dovecot on my FC5 box. I tweaked the dovecot-openssl.cnf and attempted to recreate the cert but get the errors below. I see older postings about this problem on FC2. help?
I updated the wiki with info regarding this. See http://wiki.dovecot.org/QuestionsAndAnswers#head-acc50b0e2161f91f2ed164df243... 8e056040603
The parts in parenthesis are what I did for Fedora Core 5.
thanks much. that worked. I wanted to suggest that a better patch for that script might be one that picks up the path for $OPENSSLCONFIG from the RPM. it could be done sort of like this:
OPENSSL=${OPENSSL-openssl}
# test for presence of RPM rpm --help > /dev/null 2>&1 [[ $? = 0 ]] && { OPENSSLCONFIG=$(rpm -ql dovecot |grep cnf) SSLDIR=${OPENSSLCONFIG%/*} }