Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: nash on September 15, 2018, 04:31:05 AM

Title: Multi Domain Setup without allowing user to select the server from drop down
Post by: nash on September 15, 2018, 04:31:05 AM
I am looking at a multi domain setup which will allow to user to enter his email and password. The internal IMAP & SMTP configuration will be picked directly from the domain name specific settings..

Example user's email id is
email@domain1.com

from the settings it will pick its:
IMAP Server: tls://imap.domain1.com
SMTP Server: tls://smtp.domain1.com

For another user:

email2@domain2.com
IMAP Server will be: tls://imap.domain2.com
SMTP Server will be: tls://abcjf.google.com

Is it possible? If yes how?

Thank You
Title: Re: Multi Domain Setup without allowing user to select the server from drop down
Post by: JohnDoh on September 15, 2018, 11:41:52 AM
because you want to set very different server address the only way to do this is with a plugin. the virtuser_query plugin shipped with rc might give you a starting point.