NethServer Version: 7
Module: Email
Why in Roundcube for Nethserver 7 there is the option Server?
In Nethserver 6.8 there isn’t that voice… can I remove it?
Thanks
Federico Ballarini
NethServer Version: 7
Module: Email
Why in Roundcube for Nethserver 7 there is the option Server?
In Nethserver 6.8 there isn’t that voice… can I remove it?
Thanks
Federico Ballarini
Hi,
you can modify /etc/roundcubemail/config.php.inc as described here: https://basvandijk.eu/2010/08/07/hide-server-textfield-in-roundcube-login-screen/
To save it permanently use the templates:
mkdir -p /etc/e-smith/templates-custom/etc/roundcubemail/config.inc.php nano /etc/e-smith/templates-custom/etc/roundcubemail/config.inc.php/91HIDE_DOMAINDROPDOWN
and write
$config['default_host'] = '127.0.0.1';
for only root login or
$config['default_host'] = { $roundcubemail{'Server'} };
for only domain login. That’s it. Apply the template with
expand-template /etc/roundcubemail/config.inc.php
and restart the webserver…
systemctl restart httpd
Now the server field should be away.
I’ve used this https://zeldor.biz/2012/10/roundcube-remove-server-field/ and seems it works.
Glad it worked, but I am afraid you will lose the changes after next time “signal-event nethserver-roundcubemail-update” is called, when not templating, see http://docs.nethserver.org/projects/nethserver-devel/en/v7/templates.html
@mrmarkuz is totally right.
I also would like to add that you need the switch:
If think there is an old thread here were we discussed this solution, but there is no info inside the manual.
Do you think we should add it?