Roundcube Login

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.

1 Like

I’ve used this https://zeldor.biz/2012/10/roundcube-remove-server-field/ and seems it works.

1 Like

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

3 Likes

@mrmarkuz is totally right.

I also would like to add that you need the switch:

  • if you select “Local”, you can access root mailbox
  • if you select the domain, users will be able to access their own maildir

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?

1 Like