Postfix Admin

Install and Configure

  • Create web domain (or sub-domain)
  • Download stable release (not latest)
  • Extract files to domain root directory
  • Create database and user
  • Update Apache configuration to point to public directory
  • Point browser to URL
  • Read the INSTALL.TXT file
  • Create the config.local.php with just the database parameters as below:
  • <?php
    // Setup
    $CONF['setup_password'] = '$2x$10$3BD7wLDGYm4eYEgCGY/dIuSJVomW2Ah3MaTGaI46tu6qy4et8dAvR';
     
    // Database Config
    // mysql = MySQL 3.23 and 4.0, 4.1 or 5
    // mysqli = MySQL 4.1+ or MariaDB
    // pgsql = PostgreSQL
    // sqlite = SQLite 3
     
    $CONF['database_type'] = 'mysql';
    $CONF['database_host'] = 'localhost';
    $CONF['database_user'] = 'SOMEUSER';
    $CONF['database_password'] = 'SOMEPASSWORD';
    $CONF['database_name'] = 'SOMEDATABASE';
     
    $CONF['configured'] = true;
    ?>
  • Click or Point browser to setup.php
    • Generate setup password
    • Edit config.local.php and set the generated password (on the top line)
  • Click or Point browser to setup.php (again, to login with setup password)
    • Now enter/create admin user/password

QR Code
QR Code tech:linux:postfixadmin (generated for current page)