Re: Maia on PHP 5.6 / Separate hosts for Front End and Back End?

Arnaud Launay <[email protected]>
Newsgroups gmane.mail.virus.maiamailguard
Message-ID <[email protected]>
Le Thu, May 25, 2017 at 10:13:26AM -0400, Derek Atkins a écrit:
> Hi,
> 
> I still want to move my mail server off the current host and onto
> something more modern.  Since MAIA wont work on PHP-7, I was thinking
> that I'd split the services onto two machines, the modern mail server
> (which hah PHP-7) and a second machine (which has PHP-5.6) to run the
> front end (and nothing else).
> 
> To support this concept, I've got two questions:
> 
> 1) Will Maia, as currently implemented, work on PHP-5.6?  I know it
>    works on 5.5, so I would assume so -- but I'd rather not assume ;)

Depends on which maia you use :)

This one:

https://github.com/technion/maia_mailguard

Works fine with php 5.6

> 2) Can I split Maia onto two hosts?  I.e., can I run the php web service
>    on host (a) and the perl mail processor (maiad) on host (b)?  Assume
>    that the database is obviously shared and accessible to both (a) and
>    (b) (and indeed is running on a third host, (c)!!)

Yes. We do it here with 2 PHP frontends, and 2 perl backends
doing the "actual" job -- and 2 redundant DB above them all.

Just don't forget to run the maintenance script at the right place :)

> maiad, or if all interactions are via the database and cron jobs?

All via DB, PHP and perl don't discuss directly.

> Is this split doable?  Has anyone else done it?  Is it a reasonable
> interim solution until maia gets ported to PHP-7?

You may give a try to the above repository, I suspect it might
work with php7.

	Arnaud.

_______________________________________________
Maia-users mailing list
[email protected]
http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEh832oi83F79NVZY0lSN/KJJbhOUFAlknBD8ACgkQlSN/KJJb
hOWMbQ/9ElqI0K1C8587geeOs9vOTFloAPFbviGiw6wK0e43ONxUTDa/MiT2UemW
wM58l+SdalmKponLvqO4kqpd9FJk3MkXdijDzTTtu17FOdwmDoSj0KKQAQ6IX2vb
XNzh/DX8hnl88I5H2UJ96YKD6KWCoFoxoOhDxGVNo468DcA0+8H8G2mcm5eCn60z
ZnytNr8PgfY5r9HuMa1OoPNwjn1azOHPDkSyz51+68sc4LYw6+QLiaowlKTXfER5
COEdzOrx/JcHP9Rxw0evWGKL6IVply/rCYyxWmGx0Y0hHZVoSXhkQtnxRNAknoBw
bz1PIk07PhMI8RbeaTWZpaVz1/aQ0g3CQqqoRREXNVE66x5oRzpaNXX6oj1mEneX
3r80QLNEDDmDne/h5u1PQaf7A8Jki2flBDTN2XpaJw/9/NIJqPchms1okwg4s4l1
ssfr80xb+O1+opILWtt9003kZh/B4KN7+pPWPlnt1lHWUsmRW34QzTL25M+hpzZD
493IFU383I4vCA4C72sK2z7QuV8pVnNnga16pcIEAmtm9bG+g5mIIp4GBk9NiJUj
N4CFOYgT8B/IybeH3Qd8A/AKkBaXeN+W/9aTR7h0yp85ZP3LV6ZWtpc/Jf33JUE4
N8mXo9uWe5gZnPW6/LSNPSJZ3MrMQOSc+AFXtsp9PvfJGdHnNsw=
=UVsT
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.