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

"Derek Atkins" <[email protected]>
Newsgroups gmane.mail.virus.maiamailguard
Message-ID <[email protected]>
On Thu, May 25, 2017 12:20 pm, Arnaud Launay wrote:
> 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 :)

Far enough..  I've been using 1.0.2a, I believe, for a very long time.

> This one:
>
> https://github.com/technion/maia_mailguard
>
> Works fine with php 5.6

Good to know.  Then it's just a question of whether I can upgrade my
existing database or if I have to start over.

>> 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.

It looks like not, considering
https://github.com/technion/maia_mailguard/issues/60 is still open and the
proposed patch was never submitted or applied.

Ian seemed to imply that it wouldn't work with PHP7.

I suppose I can try it.  But if I can split it up then I can put the front
end on a slightly older OS (and lock it down).

Thanks,

> 	Arnaud.

-derek
-- 
       Derek Atkins                 617-623-3745
       [email protected]             www.ihtfp.com
       Computer and Internet Security Consultant

_______________________________________________
Maia-users mailing list
[email protected]
http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
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.