Skip to content
Munk3y edited this page Aug 19, 2015 · 13 revisions

Welcome to the maia_mailguard wiki!

SELinux fixes

chcon -R -t httpd_sys_rw_content_t themes/*
setsebool httpd_can_network_connect 1

Test environment

  • CentOS 7 RTM
  • PHP 5.4.16
  • Smarty 3.1.9
  • Perl 5.16.3

Using Maia Transport Routes

main.cf:

transport_maps = mysql:/etc/postfix/mysql-transport.cf
relay_domains = mysql:/etc/postfix/mysql-relay.cf

MySQL-transport.cf:

hosts=127.0.0.1
dbname=maia
user=maia
password=password
query=SELECT transport FROM maia_domains WHERE routing_domain = '%s';

MySQL-relay.cf:

hosts=127.0.0.1
dbname=maia
user=maia
password=password
query=SELECT 'OK' FROM maia_domains WHERE routing_domain = '%s';

Creating Compile Directories

Because git doesn't store empty directories, you will need to create the themes/*/compiled directories yourself under the web root. Ensure they are writable by the web server.

cd /path/to/maia/webdir
mkdir themes/desert_sand/compiled
mkdir themes/dgm/compiled
mkdir themes/ocean_surf/compiled
chown -R www-data:www-data themes

note: replace www-data:www-data with the user and group managing your maia web directory

internal-init.php location

This file is now under the /admin/ folder under the web root. It is highly recommended that this entire folder be deleted once your installation is working.

e.g. http://www.example.com/maia/admin/internal-init.php

Install Guides