Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th April 2008, 16:29
asyadiqin asyadiqin is offline
Senior Member
 
Join Date: Jul 2006
Posts: 120
Thanks: 0
Thanked 1 Time in 1 Post
Default 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.
Reply With Quote
Sponsored Links
  #2  
Old 7th April 2008, 19:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

If the users and passwords are stored in a MySQL database, you can write a PHP script that changes the password.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 7th April 2008, 19:51
asyadiqin asyadiqin is offline
Senior Member
 
Join Date: Jul 2006
Posts: 120
Thanks: 0
Thanked 1 Time in 1 Post
Default

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.
Reply With Quote
  #4  
Old 8th April 2008, 11:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Then I guess you're using system users. The system users are stored in /etc/passwd and /etc/shadow.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 8th April 2008, 11:18
asyadiqin asyadiqin is offline
Senior Member
 
Join Date: Jul 2006
Posts: 120
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

Quote:
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.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Clear Passwords Agosto Feature Requests 6 22nd March 2007 01:36
Upgrade question for "Virtual Users And Domains With Postfix, Courier And MySQL" emresumengen HOWTO-Related Questions 3 1st December 2006 16:33
Samba as a PDC HOWTO - Change clients passwords linuxmad HOWTO-Related Questions 6 10th May 2006 17:25
Virtual Users And Domains With Postfix, Courier And MySQL - "apt-get" and Courier burritonator HOWTO-Related Questions 3 15th March 2006 21:11
How to prevent mailuser to change his password? rosa hsiao General 4 28th December 2005 04:53


All times are GMT +2. The time now is 00:09.


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