You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
95 lines
2.9 KiB
Plaintext
95 lines
2.9 KiB
Plaintext
#############################
|
|
# Postfix Admin Release 2.x #
|
|
#############################
|
|
#
|
|
# Copyright (c) 2002, 2003, 2004 High5!
|
|
# Created by: Mischa Peters <mischa at high5 dot net>
|
|
#
|
|
|
|
REQUIRED!!
|
|
----------
|
|
- You are using Postfix 2.0 or higher.
|
|
- You are using Apache 1.3.27 or higher.
|
|
- You are using PHP 4.1 or higher (PHP 5.x or higher is not supported yet).
|
|
- You are using MySQL 3.23.xx or higher. (MySQL 4.1.xx or higher is not supported yet).
|
|
|
|
|
|
READ THIS FIRST!
|
|
----------------
|
|
When this is an upgrade from Postfix Admin 1.5.4 please read UPGRADE.TXT!!
|
|
|
|
|
|
1. Unarchive new Postfix Admin
|
|
------------------------------
|
|
Make sure that you are in your WWW directory and then unarchive the
|
|
Postfix Admin archive (whatever the filename is):
|
|
|
|
$ tar -zxvf postfixadmin-2.0.0.tgz
|
|
|
|
|
|
2. Change permissions
|
|
----------------------
|
|
Since the database password is stored in the config.inc.php it's a good idea
|
|
to have Postfix Admin set to the permission of the webserver. In this
|
|
example, we assume that user "www" and group "www" are the web server as is
|
|
often the case with Apache.
|
|
|
|
$ cd /usr/local/www
|
|
$ chown -R www:www postfixadmin-2.0.0
|
|
|
|
This is also a good idea for the file permissions.
|
|
|
|
$ cd /usr/local/www/postfixadmin
|
|
$ chmod 640 *.php *.css
|
|
$ cd /usr/local/www/postfixadmin/admin/
|
|
$ chmod 640 *.php .ht*
|
|
$ cd /usr/local/www/postfixadmin/images/
|
|
$ chmod 640 *.gif *.png
|
|
$ cd /usr/local/www/postfixadmin/languages/
|
|
$ chmod 640 *.lang
|
|
$ cd /usr/local/www/postfixadmin/templates/
|
|
$ chmod 640 *.tpl
|
|
$ cd /usr/local/www/postfixadmin/users/
|
|
$ chmod 640 *.php
|
|
|
|
Additionally, if "chown user:group" doesn't work, you can use "chown user"
|
|
and "chgrp group" instead. See the man pages for these commands for more
|
|
information.
|
|
|
|
|
|
3. Create the MySQL Tables
|
|
--------------------------
|
|
In DATABASE.TXT you can find the table structure that you need in order to
|
|
configure Postfix Admin and Postfix in general to work with Virtual Domains
|
|
and Users
|
|
|
|
|
|
4. Configure
|
|
------------
|
|
Check the config.inc.php file. There you can specify settings that are
|
|
relevant to your setup.
|
|
|
|
Postfix Admin contains 3 views of administration.
|
|
There is the Site Admin view, located at http://domain.tld/postfixadmin/admin/.
|
|
There is the Domain Admin view, located at http://domain.tld/postfixadmin/.
|
|
And there is the User Admin View, located at http://domain.tld/postfixadmin/users/.
|
|
|
|
In order to do the initial configuration you have to go to the Site Admin view.
|
|
|
|
The default password for the Site Admin view of Postfix Admin is admin/admin.
|
|
|
|
This is specified in the .htpasswd file in the /admin directory. Make sure
|
|
that the location of the .htpasswd file matches your path.
|
|
|
|
|
|
5. Done
|
|
-------
|
|
This is all that is needed. Fire up your browser and go to the site that you
|
|
specified to host Postfix Admin.
|
|
|
|
|
|
6. More information
|
|
-------------------
|
|
For more information you can go to the Postfix Admin forums.
|
|
http://forums.high5.net/index.php?c=4
|