0% found this document useful (0 votes)
290 views

Install Postfix - Admin

This document provides instructions for installing and configuring Postfix Admin on a server. It involves installing required packages, downloading and extracting Postfix Admin files, editing the configuration file, creating a Postfix Admin database and user, configuring the web application by editing httpd files and setting the URL alias, running the setup wizard to generate a password hash, and finally logging into the Postfix Admin interface.

Uploaded by

Eugen T. Morar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
290 views

Install Postfix - Admin

This document provides instructions for installing and configuring Postfix Admin on a server. It involves installing required packages, downloading and extracting Postfix Admin files, editing the configuration file, creating a Postfix Admin database and user, configuring the web application by editing httpd files and setting the URL alias, running the setup wizard to generate a password hash, and finally logging into the Postfix Admin interface.

Uploaded by

Eugen T. Morar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Installing Postfix Admin

1. Install the Postfix Admin requirements using the command below. #yum install mysql-server php-mysql php-imap

2. Download the latest stable version of Postfix Admin in .tar.gz #wget postfixadmin-2.2.1.1.tar.gz #tar -xvzf postfixadmin-2.2.1.1.tar.gz #mv postfixadmin-2.2.1.1 postfixadmin

3. Edit the file /usr/share/postfixadmin/config.inc.php and update the following lines below. #vi /usr/share/postfixadmin/config.inc.php $CONF['configured'] = true; $CONF['postfix_admin_url'] = '/postfixadmin'; $CONF['database_type'] = 'mysqli'; $CONF['database_host'] = 'localhost'; $CONF['database_user'] = 'postfix'; $CONF['database_password'] = 'your_password'; $CONF['database_name'] = 'postfix'; $CONF['domain_path'] = 'YES'; $CONF['domain_in_mailbox'] = 'NO'; $CONF['encrypt'] = 'cleartext'; $CONF['emailcheck_resolve_domain] = 'NO';

Creating the Postfix Admin Database #mysql -u root -p mysql> CREATE DATABASE postfix; mysql> CREATE USER postfix@localhost IDENTIFIED BY 'your_password'; mysql> GRANT ALL PRIVILEGES ON postfix.* TO postfix;

Configuring the Postfix Admin Web Application 1. Create the file /etc/httpd/conf.d/postfixadmin.conf containing the line below. Alias /postfixadmin /usr/share/postfixadmin 2. Start or restart the httpd service. Learn how to start and stop services here. 3. Go to the Postfix Admin setup page at http://localhost/postfixadmin/setup.php and fill in the setup password. Next, click the Generate password hash. 4. Get the generated setup password hash and put it into the file /usr/share/postfixadmin/config.inc.php. Next, fill in the Setup password, Admin and Password and Password (again). Finally, click Add Admin to create a new admin account. 5. Go to the Postfix Admin login page at http://localhost/postfixadmin/ and login using your newly created admin account.

www.arondmessaging.ro www.facebook.com/aiolinux

You might also like