This is an old revision of the document!
Now, configure it by creating a file called postfixadmin/config.local.php with the following content (see postfixadmin/config.inc.php for all available stuff to configure):
- config.local.php
<?php $CONF['database_type'] = 'sqlite'; $CONF['database_name'] = '/home/vmail/db/vmail.sqlite3'; $CONF['encrypt'] = 'dovecot:SHA512'; $CONF['postfix_admin_url'] = 'https://mail.mydomain.com'; $CONF['admin_email'] = 'postmaster@mydomain.com'; $CONF['default_aliases'] = array ( 'abuse' => 'abuse@mydomain.com', 'hostmaster' => 'hostmaster@mydomain.com', 'postmaster' => 'postmaster@mydomain.com', 'webmaster' => 'webmaster@mydomain.com' ); $CONF['transport'] = 'YES'; $CONF['configured'] = true; /* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */
note: when adding new domains, choose “virtual” as transport, and 0 as password expiry.
At this point, you can already create all the mail domains and user accounts you want.