another imapd service in cyrus.conf

Christoph Moench-Tegeder cmt at
Fri May 27 06:02:33 EDT 2005

## Andreas Hasenack (ahasenack at

> 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.


Spare Space
Cyrus Home Page:
Cyrus Wiki/FAQ:
List Archives/Info:

More information about the Info-cyrus mailing list