[Dovecot] Hostname Based forwarding

Joseph Tam jtam.home at gmail.com
Sat Aug 18 03:29:49 EEST 2012


Merrickville <merrickville at gmail.com> writes:

> Is there a way to proxy based on the host name the client has configured in
> his/her email client?  (Like Apache VirtualHosts)

I doubt it; the virtual name is not part of the IMAP protocol as it is
in HTTP.  The IMAP server is not told which hostname was mapped to its IP.

You'll either have to add the @domain, or perhaps multi-home your host,
remap one of your domains to the new IP, and add another running instance
of dovecot to listen on that interface.

Joseph Tam <jtam.home at gmail.com>



More information about the dovecot mailing list