[Dovecot] Dovecot proxy/director and mail pop3/imap backend service on same server

Aerion Stevens aerion82 at gmail.com
Fri Jun 22 08:49:54 EEST 2012

Hi all,

I am interested in running a Dovecot Proxy(with Director) on the same
server as
the main Dovecot IMAP/POP3 service. I have a basic Proxy/Director
configuration working,
however I am struggling with getting the Proxy and IMAP/POP3 service to
coexist on
the same server. I plan to use three IMAP/POP3 servers with a NFS/maildir
and I am playing with Dovecot 2.1.5 at the moment.

I have two seperate configurations, one for the Proxy/Director and one for
Dovecot IMAP/POP3 "mail backend servers". For this to work my thoughts are
I will need to run the Proxy/Director imap/pop3 login process on the
standard ports
143, 110, 993, 995 and for the Dovecot IMAP/POP3 mail backend service
running on the same
server will need to use different ports (I decided to be 9143, 9110, 9993,
9995 for example).
How do I tell the director to proxy incoming imap/pop3 connection to the
mail backend servers
running on ports 9143, 9110, 9993, 9995 rather than the default imap/pop3
ports? Using the default
ports will clearly cause loops. Can anyone kindly provide an example
snippet of config that tells the director
to use different port for IMAP and POP3 proxy?

I have so far found the following pages helpful to what I am working on:


More information about the dovecot mailing list