[Dovecot] Postfix & Dovecot: Client certificate authentication

Timo Sirainen tss at iki.fi
Thu Aug 16 11:54:49 EEST 2012


On 16.8.2012, at 11.41, JARRY Jérémy wrote:

> I would like to set up an authentication using certificate with Dovecot: A user sends mail to Postfix and Dovecot authentication is valid only if certificate is trusted.
> 
> So, I enable the parameter auth_ssl_require_client_cert in dovecot configuration but it is not running. Here are the postfix logs:
..
> Aug 16 09:51:51 myserver postfix/smtpd[6922]: warning: localhost.localdomain[127.0.0.1]: SASL LOGIN authentication failed: Client didn't present valid SSL certificate
> 
> It seems Postfix doesn't send the client certificat to Dovecot. What do you think ? What is wrong ?

Correct. Postfix doesn't send it to Dovecot, so you can't do this currently. I'm not sure if this would require about 2 lines of code or hundreds to Postfix.




More information about the dovecot mailing list