Link to home
Start Free TrialLog in
Avatar of rbraym
rbraym

asked on

How to Change mail password??

Hi experts.

I have a linux redhat server with sendmail. All Mail account users are added as system users.

I want to write a php program that let users change their mail passwords (or system passwords) but i don't know how to do it because this is handled via passwd and shadow files.

My question is, is there any way to do it with php or should i try something else??.

The goal is the users can modify their own passwords (for mail account purposes).

Thanks.
Avatar of grblades
grblades
Flag of United Kingdom of Great Britain and Northern Ireland image

Hi rbraym,
Personally I would install Squirrelmail which is a webmail system. You can then install the plugin which enables users to change their password.
Avatar of rbraym
rbraym

ASKER

Thanks grblades but i need to do this with sendmail (by now). Any ideas??
Avatar of Pablo Allietti
passwd in the system console

and like jlivie says depends of the client.

eudora in your web have a server for that.
try to use openwebmail
http://www.openwebmail.org/
its a great and free webmail client

regards
marcin
Avatar of rbraym

ASKER

Ok but that wasn't my idea.

So this can't be done with php??

openwebmail is a perl based webmail and have a module to change password. but. what client do you use?
ok but You can use this module and call it from php script right ?

Regards
Marcin
You can write something yourself in PHP and if you know PHP it wont be difficult. Why do you want to write it yourself instead of installing a webmail program such as Squirrelmail which also has a module for you to change your password?
Squirrelmail will just give you an alternative metod of accessing your mail. Sometime this is usefull if people are using a different machine and don't want to have to setup the email client.
ASKER CERTIFIED SOLUTION
Avatar of marcin79
marcin79

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial