Courier/Postfix mySQL PHP Admin Interface

10 Jan 2008  •  Comments

I wrote this script to easily manage mail users on a Courier/Postfix/mySQL setup. You can find a great how-to on setting up a server with this configuration at http://nomad.ca/blog/2009/apr/3/virtual-users-and-domains-postfix-courier-and-mysq/ or http://www.howtoforge.com/virtual-users-and-domains-with-postfix-ubuntu-7.10

This script is FAR from perfect. I whipped it together to help a client at the company I work for. It was only written with them in mind but it should work for most average users.

THERE IS NO SECURITY!!! You need to provide your own.  However .htaccess does the trick.

Fairly simple to setup and use. Unpack the tarball to a web accessible folder (any you choose). Edit “includes/settings.inc.php” and modify it so that it is appropriate to your db info. If you change the “script name” setting don’t forget to rename admin.php to the same.

Then call up your site “http://localhost/admin.php” as an example.

You should be able to do any modifications to domains, users and forwards. You will see any users etc that are already in the DB. This script does NOT affect the db any differently than manual input to mysql so you can use either and/or.

cpAdmin version 0.1

Twitter Facebook Stumbleupon Reddit Digg

Copyright © 2004 - 2014 Nomad.Works | Made in Ottawa