Trying to figure out hostname based IMAP proxy forwarding. I have two mail servers: mail.example.com mail.fakedomain.ca proxy server running dovecat/IMAPS, facing the Internet. *Both* names are DNS resolve(able), but.., both are the *same IP address.* For example: Joe configures his email client username: joe at example.com IMAP Addr: mail.example.com For example: Jane configures her email client username: jane at fakedomain.ca IMAP Addr: mail.fakedomain.ca So, now all clients must change their user-name in their email client to their full email address, because there is a Jane & Joe on "both" servers and..., dovecot proxies based on 'user name' Is there a way to proxy based on the host name the client has configured in his/her email client? (Like Apache VirtualHosts) This would be ideal, as the clients can then go back to using just their name as the username. Thanks Rick -- View this message in context: dovecot.2317879.n4.nabble.com/Hostname-Based-forwarding-tp37110.html Sent from the Dovecot mailing list archive at Nabble.com.
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>
Thanks for the info. That unfortunately does not make it as flexible as name based hosting, too bad. -- View this message in context: dovecot.2317879.n4.nabble.com/Hostname-Based-forwarding-tp37110p37150.html Sent from the Dovecot mailing list archive at Nabble.com.