Postfix Admin Quick-Start on LAMP for Ubuntu Linux Easy Guide

March 17, 2015 | By the+gnu+linux+evangelist.

Posfix-Admin LAMP Initial Setup on Ubuntu

Hi! The Tutorial shows you Step-by-Step How to Getting-Started with Postfix Admin on the LAMP Stack for Ubuntu GNU+Linux Desktop/Server.

Postfix Admin is a Web based Interface used to Manage Mailboxes, Virtual Domains and Aliases. It also features support for vacation/out-of-the-office messages.

Installing Latest Posfixadmin on Ubuntu - Featured
  1. Open a Shell Session
    Ctrl+Alt+t on Desktop
    (Press “Enter” to Execute Commands)

    Getting-Started with Postfixadmin for Ubuntu - Open Terminal

    In case first see: Terminal QuickStart Guide.

  2. How to Install LAMP Server on Ubuntu Linux.

    LAMP Server Installation on Ubuntu
  3. How to Install Postfix-Admin on Ubuntu Linux.

    PostfixAdmin Installation on Ubuntu
  4. Install & Enable Imap PHP Module.

    sudo su
    apt-get install php5-imap
    php5enmod imap
    service apache2 restart
  5. Setup Postfix-Admin Web Interface.

    cp -r /usr/share/postfixadmin /var/www/html/
    chmod 777 /var/www/html/postfixadmin/templates_c
  6. Run PostfixAdmin DB Setup
    Open in Browser the URL:

    http://localhost/postfixadmin/setup.php

    PostfixAdmin Initial Setup on Ubuntu - Generate a Hashed DB Pass
    Set and Take Note of the DB Pass an Click on “Generate Hash“.
    Copy the Generate Hash and Paste it In the config.inc.php for the $CONF[‘setup_password’] Entry!

    nano /etc/postfixadmin/config.inc.php

    Next you’ll be able to Setup the SuperAdmin Postfix-Admin Account
    PostfixAdmin Initial Setup on Ubuntu - Setup Super-Admin Account
    If you Can’t Create the SuperAdmin Account Check/Edit the Postfix-Admin DB Access Parameters

    nano /etc/postfixadmin/dbconfig.inc.php

    Modify as:

    $dbuser='postfixadmin';
    $dbpass='[dbPass]';
    $basepath=''; 
    $dbname='postfixadmin';
    $dbserver='localhost';
    $dbport='';   
    $dbtype='mysql';
    

    And Set the Appropriate DB Password…

    exit
  7. Admin Postfix Mail Domains
    Go to:

    http://localhost/postfixadmin/

    And Start Administering your Mail Domains :)
    PostfixAdmin Initial Setup on Ubuntu - Domains Administration


QuickChic Theme • Powered by WordPress