cross@ssorc.tw

 

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'] = 'cross@ssorc.tw';

$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刪掉或更名

Related posts 相關文章
postfix 怎麼記錄信件主旨於 maillog 中
More...
讓 Plesk 的 Postfix 使用 Domain Key、SPF
More...
postfix 利用 postfwd2 限制寄信數量
More...
Postfix 如何讓某個帳號跑另一個 IP 寄信出去
More...

作者

留言

撰寫回覆或留言

發佈留言必須填寫的電子郵件地址不會公開。