[Dovecot] multipul ssl certification

WangSamuel
Sat, 17 Apr 2010 15:03:04 -0000

# 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?????????