Postfix Admin
web-based型式 postfix的 virtual domain管理
Fedora core 4
[1.] wget http://high5.net/postfixadmin/download.php?file=postfixadmin-2.1.0.tgz tar zxvf postfixadmin-2.1.0.tgz
mv postfixadmin-2.1.0 /var/www/html/
[2.] cd /var/www/html/postfixadmin-2.1.0
chmod 640 *.php *.css
cd /var/www/html/postfixadmin-2.1.0/admin/
chmod 640 *.php .ht*
cd /var/www/html/postfixadmin-2.1.0/images/
chmod 640 *.gif *.png
cd /var/www/html/postfixadmin-2.1.0/languages/
chmod 640 *.lang
cd /var/www/html/postfixadmin-2.1.0/templates/
chmod 640 *.tpl
cd /var/www/html/postfixadmin-2.1.0/users/
chmod 640 *.php
chown -R apache.apache /var/www/html/postfixadmin-2.1.0/
[3.] 建立資料庫、匯入資料
cd /var/www/html/postfixadmin-2.1.0/
mysql -u root -p <DATABASE_MYSQL.TXT
[4.] cd /var/www/html/postfixadmin-2.1.0
cp config.inc.php.sample config.inc.php
vi config.inc.php
$CONF['default_language'] = 'tw';
$CONF['database_type'] = 'mysql';
$CONF['database_host'] = 'localhost';
$CONF['database_user'] = 'postfixadmin';
$CONF['database_password'] = 'postfixadmin';
$CONF['database_name'] = 'postfixadmin';
$CONF['admin_email'] = '[email protected]';
$CONF['smtp_server'] = 'localhost';
$CONF['smtp_port'] = '25';
$CONF['footer_text'] = 'Return to Postfix Admin @ssorc.tw';
$CONF['footer_link'] = 'http://ssorc.tw/test/postfixadmin-2.1.0';
[5.] 檢查設定 http://ssorc.tw/test/postfixadmin-2.1.0/setup.php
點選 admin section
記得把setup.php刪掉或更名
留言