Karol Babioch karol@babioch.de writes:
As far as I know dovecot is not able to operate on multiple ports, as stated in the FAQ [1].
[1]: > http://wiki.dovecot.org/QuestionsAndAnswers#Is_it_possible_to_have_Dovecot_i...
That should be qualified as "Is it possible to have Dovecot imap/pop daemons listening on multiple ports for a single running instance."
You can run two instances of dovecot, each on a different port or multi-homed listening address. You can share libraries, binaries, log files, but use separate configuration files, specifying different ports/addresses/ssl-configs/auth/access parameters. Then you can fire them both up
dovecot -c /dovecot/etc/dovecot-1.conf
dovecot -c /dovecot/etc/dovecot-2.conf
That's the rough sketch of how to do it.
Joseph Tam jtam.home@gmail.com
Hi,
Am 28.02.2015 um 00:28 schrieb Joseph Tam:
That should be qualified as "Is it possible to have Dovecot imap/pop daemons listening on multiple ports for a single running instance."
Yes, exactly.
You can share libraries, binaries, log files, but use separate configuration files, specifying different ports/addresses/ssl-configs/auth/access parameters. Then you can fire them both up
dovecot -c /dovecot/etc/dovecot-1.conf dovecot -c /dovecot/etc/dovecot-2.conf
I will have to look into it. I'm afraid that I would have to fiddle around with the default unit files. Also I'm not completely sure how this would work with all of the configuration files that have been split off into small chunks and get included at some point. This is probably going to be messy rather quickly :'(.
Thanks for your suggestion.
Best regards, Karol Babioch
participants (2)
-
Joseph Tam
-
Karol Babioch