[Dovecot] different SSL certificates for different connectoins

Waldemar Augustyn waldemar at wdmsys.com
Sun Jul 30 19:31:10 EEST 2006


That's what I was afraid of.   I suppose I could use an SSL proxy in 
which case I would lose the originating IP address but I could live 
with, perhaps.  Still, I woul d need multiple IMAP (non-SSL) ports.  
Could dovecot do that?

Chris Wakelin wrote:

> protocol imap {
>
>   login_greeting = Dovecot IMAP ready.
>   ssl_listen = *:993
>
>   ssl_cert_file = /usr/local/dovecot/ssl/imap.crt.pem
>   ssl_key_file = /usr/local/dovecot/ssl/imap.key.pem
> ...
> }
> protocol pop3 {
>
>   login_greeting = Dovecot POP3 ready.
>   ssl_listen = *:995
>
>   ssl_cert_file = /usr/local/dovecot/ssl/pop.crt.pem
>   ssl_key_file = /usr/local/dovecot/ssl/pop.key.pem
> ...
> }
>
> If you need multiple ports for each protocol, then you'll need to run 
> two Dovecot instances with different config files.
>
> Best Wishes,
> Chris
>
> Waldemar Augustyn wrote:
>
>> Is it possible to setup dovecot to have it presented different SSL 
>> certificates to connections coming at different ports.  I don't see 
>> it in the docs.  It seems, dovecot would present the same certificate 
>> to all connecting ports. Thanks.
>
>


More information about the dovecot mailing list