[Dovecot] SSL error and PostgreSQL

Maikel Verheijen maikel at ladot.com
Fri Apr 2 13:44:54 EEST 2004


In the docs dir, there is a sample configuration for a postgres 
connection with dovecot:

ls dovecot-0.99.10.4/doc/dovecot-pgsql.conf
dovecot-0.99.10.4/doc/dovecot-pgsql.conf


In your dovecot.conf file you point to this file as followed:

auth_passdb = pgsql /usr/local/etc/dovecot-pgsql.conf
auth_userdb = pgsql /usr/local/etc/dovecot-pgsql.conf

Kind regards,

Maikel Verheijen


On Apr 1, 2004, at 5:03 PM, eLgino wrote:

> Hello there,
>
> Anyone have a Howto for me how i can configure dovecot to work with a 
> PostgreSQL
> Database? (the docs are small), i want to use it with Exim4
>
> and i have a error with SSL
> "imap-login: Can't load private key file 
> /var/dovecot/ssl/private/imapd.pem:
> error:0906D06C:PEM routine:PEM_read_bio:no start line"
>
> i make my cert with this command (i don't like the included script :))
> openssl req -nodes -new -x509 -keyout imapd.pem -out imapd.pem -days 
> 3650
> or
> openssl req -nodes -new -x509 -out imapd.pem -days 3650
>
> the pem is file is in the right directory and have "a chmod 700,777 or 
> 600" no
> one of the this will work.
>
> sorry for my poor english and thanks in advance




More information about the dovecot mailing list