[Dovecot] different SSL certificates for different connectoins

Chris Wakelin c.d.wakelin at reading.ac.uk
Sun Jul 30 19:23:33 EEST 2006


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.

-- 
--+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
Christopher Wakelin,                           c.d.wakelin at reading.ac.uk
IT Services Centre, The University of Reading,  Tel: +44 (0)118 378 8439
Whiteknights, Reading, RG6 2AF, UK              Fax: +44 (0)118 975 3094


More information about the dovecot mailing list