[Solved] Change e-mail password from Webmail - SOGo & Roundcube


(Gabriel GHEORGHIU) #1

Hi guys,

Can somebody tell me where are the config files for SOGo and Roundcube ?

I need to activate:

  • for SOGo:
    - “Password Tab” on Preferences (user can change the e-mail password)
    - Login - user must login with entire email address
  • for Roundcube:
    - user can change the e-mail password (something like for SOGo).

Thank you in advance,
Gabriel


Some question about E-mail and SOGO
(Stefano) #2

AFAIK this is not available on NS


(Gabriel GHEORGHIU) #3

Hi Stefano,

For SOGo, I know how to enable or disable some features but I don’t know which and where is the config file in NS (in Zentyal is located in /usr/share/zentyal/stubs/openchange/sogo.conf.mas and I did those modifications there).

I didn’t try the same things with Roundcube but I think is possible (I will read documentation for Roundcube). Anyway, If is possible, I need the path for the config file.

Gabriel


(Gabriel GHEORGHIU) #4

OK,

I made a first step in Roundcube: I added “Password” plugin but, when I try to change password I receive an error message: Could not save new password.

What other settings must do?

Thank you in advance,

Gabriel


(Artem Fedai) #5

for those feature LDAP user must have Writable rights to make changes in Ldap database :slight_smile:


(Gabriel GHEORGHIU) #6

Hi “Nas”,

In this moment, I try to use NS only like an Email Server.

I found this in /var/log/roundcubemail/errors:

[18-Jul-2015 19:18:24 +0300]: DB Error: [1305] FUNCTION
roundcubemail.update_passwd does not exist (SQL Query: SELECT
update_passwd(’$1$Yvsoed/h$aty2AycLZUxmfLBiveKw11’,
‘test@mydomain.ro’)) in
/usr/share/roundcubemail/program/lib/Roundcube/rcube_db.php on line 467
(POST
/webmail/?_task=settings&_action=plugin.password-save?_task=&_action=)

I am not an expert and I don’t know what I must to do next.

Gabriel


(Artem Fedai) #7

you should conifg your Password plugin for Ldap scheme of the server :slight_smile: Lets ask Dev Team @filippo_carletti @davidep @giacomo i could make a configuration of Password plugin , would it be a Usefull feature that User could change his Password ?


(Gabriel GHEORGHIU) #8

I read something on Internet about this but I don’t know exactly how I must do.

Anyway, it’s a useful feature for users and also for admins.
It’s not a security breach for an Information System because of password requirements (complexity, validity, …) and most important, the users think they have control! :wink:

Gabriel


Users managing there passwords
(Giacomo Sanchietti) #9

The password should be changed only from the server manager since many software are involved.

The user can login to the port 980 port with its own password. The system will display a simple form to change user information and set a new password.


Users change password remotely?
(Artem Fedai) #10

So @GG_jr have you got full answer ?


(Gabriel GHEORGHIU) #11

Thank you Giacomo,
Thank you Nas,

Till now, I didn’t know this; I think it’s not written anywhere.
I tried and you are right :smile:

Gabriel


(Giacomo Sanchietti) #12

It’s written here: http://docs.nethserver.org/en/latest/base_system.html#user-s-profile
Maybe we can put it in a better place because it’s hard to find.

Any idea? :smile:


(Alessio Fattorini) #13

A simple FAQ?


(Gabriel GHEORGHIU) #14

Hi Giacomo,
Hi Alessio,

Because email account is related to user account you are right to to describe how to change password in http://docs.nethserver.org/en/latest/base_system.html#user-s-profile.

Also you are right when you say that is hard to find here when you try to find how to change password for email account.

I think i’s a good idea to find in FAQ section.

Maybe put also in http://nethserver.readthedocs.org/en/latest/mail.html or in http://nethserver.readthedocs.org/en/latest/webmail.html ?

Thank you for your interest regarding my question.

Kind regards,
Gabriel


(Giacomo Sanchietti) #15

There is a new FAQ: How user can change his own password on NethServer?

I also updated the documentation changing the title from “User’s profile” to “Change user password”: http://docs.nethserver.org/en/latest/base_system.html#change-user-password

I didn’t find a suitable point for a link inside the mail chapter :confused:


(Gabriel GHEORGHIU) #16

Hi Giacomo,

Maybe under “Email addresses” (Warning Box ?) subchapter?

IMHO It’ easy to associate the email address with change password for that email address.

Gabriel