another imapd service in cyrus.conf
    Christoph Moench-Tegeder 
    cmt at burggraben.net
       
    Fri May 27 06:02:33 EDT 2005
    
    
  
## Andreas Hasenack (ahasenack at terra.com.br):
> I would like to add another imapd service in cyrus.conf listening on another 
> port and using a different imapd.conf file.
> The reason is that I need to provide a different TLS certificate for 
> connections comming it via a DNAT packet filter so that the hostname matches 
> what the client is connecting to.
If the only difference between the two configurations is the certificate
and you are using cyrus-imapd 2.2, you could put everything in one
config file. With these
> # regular ones
>   imap          cmd="imapd" listen="imap" prefork=0
>   imaps         cmd="imapd -s" listen="imaps" prefork=0
> # my new one
>  myimaps	cmd="imapd -C /etc/otherimapd.conf -s" listen="1143" prefork=1
in your cyrus.conf, put those into your imapd.conf:
imaps_tls_key_file: ...
imaps_tls_cert_file: ...
imaps_tls_ca_path: ...
myimaps_tls_key_file: ...
myimaps_tls_cert_file: ...
myimaps_tls_ca_path: ...
This way, we are running 140 SSL-enabled domains (POP and IMAP) from
one cyrus.conf and one imapd.conf.
Regards,
Christoph
-- 
Spare Space
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
    
    
More information about the Info-cyrus
mailing list