[Dovecot] multipul ssl certification

WangSamuel samuelwang_cn at msn.com
Sat Apr 17 18:03:04 EEST 2010


# 2.0.beta4: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.28.finerTEK i686 Gentoo Base System release 1.12.11.1 

-----------------------------------------------------------
Multiple SSL 
certificates (v2.0+)
local imap.example.org {
  ssl_cert = </etc/ssl/certs/imap.example.org.crt
  ssl_key = </etc/ssl/private/imap.example.org.key
}
local imap.example2.org {
  ssl_cert = </etc/ssl/certs/imap.example2.org.crt
  ssl_key = </etc/ssl/private/imap.example2.org.key
}
# ..etc..With v1.x you need to use multiple instances with 
multiple configurations. 
-----------------------------------------------------------------------------

which file should i put the "local imap.foo.bar {... } " in?
i tried put it in ssl.conf, and comment the original ssl_cert and ssl_key lines.
and start dovecot with -F parameter
but 

doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: ssl enabled, but ssl_cert not set

please help me
thanks
Sam

 		 	   		  
_________________________________________________________________
一张照片的自白――Windows Live照片的可爱视频介绍
http://windowslivesky.spaces.live.com/blog/cns!5892B6048E2498BD!889.entry


More information about the dovecot mailing list