Roundcube Community Forum

Miscellaneous => Roundcube Discussion => Topic started by: mvdgeijn on April 11, 2018, 05:13:53 AM

Title: Custom host settings
Post by: mvdgeijn on April 11, 2018, 05:13:53 AM
Hi,

I'm new to writing code for roundcube, so sorry if this is an easy question.

I would like to create a file that contains <domain>:<imap host> pairs. Format (xml,json,php array) doesn't matter. Some custom MySQL query is also an option.

If a customer uses info@<domain>, Roundcube should use <imap host> as the imap host. Is this a standard option in Roundcube? I know it is possible to use a dns record (e.g. mail.<domain>) to do this, but we are getting questions about this when we don't manage the DNS records for the domain and the customer has to create that record.

Thanks!
Marc
Title: Re: Custom host settings
Post by: JohnDoh on April 11, 2018, 05:40:27 AM
take a look at the virtuser_query plugin shipped with roundcube. that can be configured to do user to host lookups