Postfixadmin2.1.0 is used by many people. I will take notes for beginners who want to use it. It is about the installation of Postfixadmin 2.1.0. refer to the following.
Create apache and maildrop users and groups
- # groupadd vmail -g 1001
-
- # useradd vmail -u 1001 -g 1001 -s/bin/false -d/dev/null
-
- # vi /usr/local/apache/conf/httpd.conf
Set
User nobody
Group #-1
Change
User vmail
Group vmail
- # wget http://high5.net/postfixadmin/download.php?file=postfixadmin-2.1.0.tgz
-
- # tar -zxvf postfixadmin-2.1.0.tgz
-
- # mkdir /var/www
-
- # mv postfixadmin-2.1.0 /var/www/postfixadmin
Change the permission. Assume that the user and group running apache are vmail.
- # chown -R vmail:vmail /var/www/postfixadmin
-
- # cd /var/www/postfixadmin
-
- # chmod 640 *.php *.css
-
- # cd /var/www/postfixadmin/admin/
-
- # chmod 640 *.php .ht*
-
- # cd /var/www/postfixadmin/images/
-
- # chmod 640 *.gif *.png
-
- # cd /var/www/postfixadmin/languages/
-
- # chmod 640 *.lang
-
- # cd /var/www/postfixadmin/templates/
-
- # chmod 640 *.tpl
-
- # cd /var/www/postfixadmin/users/
-
- # chmod 640 *.php