I have an e-mail server thatuses Linux 7.1 database users as its e-mail users. I wanna allow my e-mail users to change their passwords in both Linux and of course the e-mail server. I need a way to write code in Perl, PHP or any other server side scripting language that supported by Apache. I prefer a function that takes for example the old password and the new one as parameters. I'll be very thankful if one helped me to get that.