Author Topic: Multi Domain Setup without allowing user to select the server from drop down  (Read 2058 times)

Offline nash

  • Newbie
  • *
  • Posts: 1
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

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,845
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ā€¦