[RCD] prefs hostname revisited

Cor Bosman cor at xs4all.nl
Fri Aug 15 19:50:28 CEST 2014

On 15 Aug 2014, at 18:28, Brendan <brendan at tucows.com> wrote:

> the authenticate hook fires during the login process (http://trac.roundcube.net/wiki/Plugin_Hooks#authenticate) and allows you to override the hostname - perhaps you could use this hook to do what you need? the CSR reps could use a special username format, then the authenticate hook could return the true username with the internal imap server that allows impersonation.

No, I dont need the actual hostname to change. I just need the database column for mail_host to stay the same for different imap servers. Else you end up with multiple preferences, one row for each imap server.

It looks as if this can be accomplished by an extra hook in rcube_user::query()


More information about the dev mailing list