Roundcube Community Forum

 

Multi Domain Setup without allowing user to select the server from drop down

Started by nash, September 15, 2018, 04:31:05 AM

Previous topic - Next topic

nash

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 protected]

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

For another user:

[email protected]
IMAP Server will be: tls://imap.domain2.com
SMTP Server will be: tls://abcjf.google.com

Is it possible? If yes how?

Thank You

JohnDoh

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.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...