Changed page "howto/PostfixAdmin" by macintosh@mathiesen.info from 90.184.12.220* Page URL: <https://trac.macports.org/wiki/howto/PostfixAdmin> Diff URL: <https://trac.macports.org/wiki/howto/PostfixAdmin?action=diff&version=3> Revision 3 -------8<------8<------8<------8<------8<------8<------8<------8<-------- Index: howto/PostfixAdmin ========================================================================= --- howto/PostfixAdmin (version: 2) +++ howto/PostfixAdmin (version: 3) @@ -91,12 +91,10 @@ </VirtualHost> }}} -To test if your setup can start without initial problems, execute. +To test if your setup can start without initial problems, execute {{{ /macports/apache2/bin/httpd -S }}} - -Additionally === Step 2: '''Postfix Configuration''' === @@ -151,9 +149,9 @@ cd /Volumes/Bjarne/Sites/info/mathiesen/postfixadmin/html diff config.inc.php config.inc.edited.php | sed -En -e '/^>/p' | sed -E -e 's/^> //' > config.local.php }}} -The '''bold''' lines in the following are ones you'll have to add manually. -{{{ -'''<?php''' +You'll have to add some lines manually in order for {{{config.local.php}}} to work properly. +{{{ +<?php // add this line manually $CONF['configured'] = true; $CONF['setup_password'] = 'md5cryptpassword'; $CONF['postfix_admin_url'] = 'http://postfixadmin.mathiesen.test'; @@ -167,12 +165,12 @@ $CONF['generate_password'] = 'YES'; $CONF['show_password'] = 'YES'; $CONF['page_size'] = '20'; -'''$CONF['default_aliases'] = array (''' +$CONF['default_aliases'] = array ( // add this line manually 'abuse' => 'mailadmin@mathiesen.test', 'hostmaster' => 'mailadmin@mathiesen.test', 'postmaster' => 'mailadmin@mathiesen.test', 'webmaster' => 'mailadmin@mathiesen.test' -''');''' +); // add this line manually $CONF['domain_path'] = 'YES'; $CONF['quota'] = 'YES'; $CONF['quota_multiplier'] = '1048576'; @@ -182,8 +180,8 @@ $CONF['footer_link'] = 'http://avisbude.test/'; $CONF['create_mailbox_subdirs_prefix']=''; $CONF['new_quota_table'] = 'YES'; -}}} -'''?>''' +?> // add this line manually +}}} === Step 5: '''Postfixadmin First Run''' === -------8<------8<------8<------8<------8<------8<------8<------8<-------- * The IP shown here might not mean anything if the user or the server is behind a proxy. -- MacPorts <http://www.macports.org/> Ports system for Mac OS This is an automated message. Someone at http://www.macports.org/ added your email address to be notified of changes on howto/PostfixAdmin. If it was not you, please report to .