Yes!!!
I thank you both!
I have my centralized RC instalation now, wow, so fantastic!! I'm fanatic with centralization!
Thanks a mile!
-----Original Message----- From: users-bounces@lists.roundcube.net [mailto:users-bounces@lists.roundcube.net] On Behalf Of Thomas Bruederli Sent: 16 de setembro de 2017 17:57 To: Roundcube Users mailing list users@lists.roundcube.net Subject: Re: [RCU] Dynamic host with password plugin
On Fri, Sep 15, 2017 at 11:15 AM, Jorge Bastos mysql.jorge@decimal.pt wrote:
Thomas,
I'm thinking in a possible workarround until this feature appears.
Can you tell me the place where I could write a file on the server with the value of %h, and I'll read it in password plugin's config.inc.php
About the PHP code I can do it, I just need to know the best/correct place in Roundcube to save it.
I'm thinking of saving it with the name "tmpfile" + username + remote_ip + ticks
As you can see in the fix for your feature request ticket [1] that is
already in git master, there's no need to save a file for that. The
information is stored in session and the handy function
rcube_utils::parse_host()
will do the magic of replacing the %X vars for
you.
Best, Thomas
[1] https://github.com/roundcube/roundcubemail/commit/148ccda88ab79 [2] https://github.com/roundcube/roundcubemail/blob/master/program/lib/Roundcube /rcube_utils.php#L555 _______________________________________________ Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users