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.
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.
ASKER
Thanks grblades but i need to do this with sendmail (by now). Any ideas??
passwd in the system console
and like jlivie says depends of the client.
eudora in your web have a server for that.
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
http://www.openwebmail.org/
its a great and free webmail client
regards
marcin
ASKER
Ok but that wasn't my idea.
So this can't be done with php??
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
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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Personally I would install Squirrelmail which is a webmail system. You can then install the plugin which enables users to change their password.