I dare say you could edit the code for your local copy of Roundcube to add that feature. I doubt anyone else would make the change for you, unless you are offering to pay for the work.

Alternatively you could follow @lbutlr's suggestion of making the necessary config changes in the upsteam mailserver, or my suggestion of a second parallel install of Roundcube.

It all depends on which part of the overall stack you are most comfortable with editing, but in any case it would help a lot if you told the overall problem you are trying to solve, as there is likely to be a better solution.


--

David Pottage


On 30/12/2019 13:59, Marc Roos wrote:
I would like to keep things simple, for a temporary work-a-round.
Everyone is using the same https url.

I thought about something like creating a small array of usernames and
then add something like

if (in_array('%u', $userarr)) { $config['smtp_server'] =
'out2.example.com'; }

Preferably in the config, so I can update roundcube to newer versions
easily.

The above is of course not working because the %u is not expanded.



-----Original Message-----
Sent: 29 December 2019 21:01
To: users@lists.roundcube.net
Subject: Re: [RCU] (no subject)


On 22/12/2019 14:17, Marc Roos wrote
Is it possible to configure a different outgoing mail server for just
a few accounts only?
I doubt that is a feature of roundcube, though you could proably achieve
the same thing by creating a second parallel install of roundcube with a
different config and access URL, and asking the the unusual users to log
in using the other URL.

What is the problem you are trying to solve? There is probably a better
way to solve it.

_______________________________________________
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users

Reply via email to