HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Server Operation (
-   -   Courier - How To Change Mailuser Passwords (

asyadiqin 6th April 2008 16:29

Courier - How To Change Mailuser Passwords
Hi all. I have a dedicated server which uses the MatrixSA control panel. The server comes pre-installed with Centos 5 with Postfix and Courier.

To be fair, the CP is fine. However, there is no options for any mail users created by the CP to change their passwords. I have contacted their Tech Support and they told me there is no such features yet and that I have to install or configure this on my own.

So, can anyone suggest anything that would allow me to have this function, ie. allow mailusers to change their passwords, eg. web-based email, php scripts, etc... Please do not suggest PostfixAdmin as I have been having problems installing it and have wasted 2 weeks trying to install it. PostfixAdmin will not create any mail folders using the scripts provided and I don't want to go that route again.

Thanks again and hope someone can give me a useful suggestions.

PS : Please try to be as detailed as possible as I only have basic understanding as to how mailserver works. Thanks again.

falko 7th April 2008 19:17

If the users and passwords are stored in a MySQL database, you can write a PHP script that changes the password.

asyadiqin 7th April 2008 19:51

Thats the problem. The CP does not store users and passwords in MySQL. Its a standard installation with Courier, Courier-IMAP and Postfix. Postfix was installed without any MySQL support too.

I have tried installing PostfixAdmin but was having issues with the creation of mail directories using scripts, so I have basically given up on that route as its taking too much of my time to configure it.

Is there any other way to manage the passwords if it was just a standard installation of Courier, Courier-IMAP and Postfix? Thanks again.

falko 8th April 2008 11:11

Then I guess you're using system users. The system users are stored in /etc/passwd and /etc/shadow.

asyadiqin 8th April 2008 11:18


Originally Posted by falko
Then I guess you're using system users. The system users are stored in /etc/passwd and /etc/shadow.

No, I don't think so. I've checked the those folders and there is no such users. I think its using virtual domains and virtual users as MatrixSA is a webhosting CP, so I guess its stored somewhere.

Only tips given by me by the Tech Support was to read up on courier-config and to use that Courier API to change the user passwords. I have no idea what that means.

All times are GMT +2. The time now is 06:27.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.