Re: Maia on centos 8
Martin <martin-a+JJD33MRT5aa/[email protected]>
| Newsgroups | gmane.mail.virus.maiamailguard |
|---|---|
| Message-ID | <[email protected]> |
Hi My experience is that it doesn't "just work" on FreebSD either. I just (kind of) finished a setup a few days ago, and stumbled into the white-screen-of-death issue upon accessing the maia webinterface. The configtest.pl works and all tests pass, (except for the LDAP and postgre modules, but using mysql(MariaDB), thats to be expected. Even the webtest (configtest.php) passes, but when trying to access the maia webinterface, it fails. The log tells me about some int value passed is not defined correctly. A quick look at the code that triggered the error, didn't instantly cause me to think: "aha!". Varoius searches didn't provide me with a usable cue either. So for the time being, I made a switch to rspamd. Seems to work, but would rather prefer to have the abillity to switch back to maia... I followed the Purplehat guide, and the only difference being that I made it in a jail, and put the mysql(mariaDB) in a seperate jail from the rest, but I can't figure out how that could make a difference as long as the proper connection details is put in. I should perhaps state that all the other components work just fine. Postfixadmin, roundcube and now also the rspamd, so I'm failry certain that the rest of the setup have been configured correctly :) The used versions is: php72-7.2.28 postfix-3.5.0 dovecot-2.3.10-1 dovecot-pigeonhole-0.5.10 Regards Martin On 26/03/2020 04.03, Janky Jay, III wrote: > That very well could be. It's been so long since I tested everything > to make sure the migration to PHP 7.2 would work that I can't remember > if I had to do anything specific. If you'd like, you can check out my > guide at https://www.purplehat.org/ which will have any build and > setup options for a fully working Maia-Mailguard on FreeBSD 12. > > Regards, > Janky Jay, III > > On 3/25/20 4:59 PM, Robert LeBlanc wrote: >> It could be the build configurations (compile-time options) of some >> of the modules in one distro vs. another. That would hint at a >> config option difference for PHP that you might be able to set in a >> php.ini. Would be worth comparing the out-of-the-box options, for clues. >> >>> On Mar 25, 2020, at 3:44 PM, jjs - mainphrame <[email protected] >>> <mailto:[email protected]>> wrote: >>> >>> That's interesting - but it raises questions. For instance, how is >>> it that the pear-MDB2 modules work in your environment, but fail in >>> centos 8, which uses php 7.2? >>> >>> I wonder if I'll have to build a FreeBSD box to find out... >>> >>> Jake >>> >>> On Wed, Mar 25, 2020 at 3:41 PM Janky Jay, III <[email protected] >>> <mailto:[email protected]>> wrote: >>> >>> Hello Everyone, >>> >>> I didn't change any code for Maia, actually. I have the Maia >>> port pull down code directly from the technion branch and just >>> apply a few FBSD specific changes for locations (such as >>> /usr/local/bin/perl instead of /usr/bin/perl) and a few other >>> things. No code changes at all, though. >>> >>> Regards, >>> Janky Jay, III >>> >>> On 3/25/20 9:12 AM, jjs - mainphrame wrote: >>>> I would love to see Janky Jay's maia codebase. There are >>>> obviously fixes there, that are not in the technion branch. >>>> >>>> Could save a lot of time and effort, if we could do a diff on >>>> what's there. >>>> >>>> Jake >>>> >>>> On Tue, Mar 24, 2020 at 8:24 PM David Johnson >>>> <david-/3pZ6aEMps3mkY1bdgd/[email protected] <mailto:david-/3pZ6aEMps3mkY1bdgd/[email protected]>> wrote: >>>> >>>> I’m running Maia on FreeBSD 12.1 and PH 7.3. That’s as >>>> current as it gets. Janky Jay is the maintainer of the the >>>> port on FreeBSD. He’s [email protected] >>>> <mailto:[email protected]>. It looks like he got PHP 7 >>>> support working in January 2019. Don’t know the extent of >>>> any changes or if they were upsteamed. >>>> >>>> Postfix and Dovecot are current on FreeBSD. There’s no >>>> reason this can’t work. Don’t believe anybody who tells you >>>> this is broken or out-of-date. >>>> >>>> > On Mar 24, 2020, at 1:14 PM, Andre Goree >>>> <[email protected] <mailto:[email protected]>> wrote: >>>> > >>>> > On 2020/03/24 2:45 pm, Brian McCullough wrote: >>>> > >>>> >> I haven't looked at the Maia code for some time, but >>>> have had to move >>>> >> some projects from PHP 5.6 to 7.x. Of course, depending >>>> on the value of >>>> >> x, the answer changes. PHP 7.x has changed, more or >>>> less significantly, >>>> >> from PHP 5.6. Most likely, what is happening to you is >>>> that there are >>>> >> errors being reported, internally, but PHP 7, but they >>>> are being hidden >>>> >> from you. These errors are changes in the language >>>> causing syntax >>>> >> errors and such in Maia. >>>> >> A project to update the Maia code from PHP 5 has been >>>> discussed at >>>> >> least a couple of times, but, as far as I know, never >>>> been completed, if >>>> >> even actually started. >>>> > >>>> > What (if any) would be a similar project with similar >>>> features that you'd recommend? >>>> > >>>> > I've run Maia on FreeBSD since 2013, but postfix and >>>> dovecot are stuck on old and insecure versions (bc I >>>> haven't wanted to fix them and deal with the php mess), and >>>> Maia itself has been broken for me for a couple years now >>>> -- I just haven't had the desire to try to fix it, so it's >>>> remained broken and I've relied mostly on spamhaus >>>> blocklists for blocking at the FW to limit spam (hasn't >>>> been horrible, but not as well as a good Maia install). >>>> > >>>> > >>>> >> If you wanted to take that on, there are several of us >>>> who would be VERY >>>> >> grateful. Some of us might even be willing to assist. >>>> >>> Jake >>>> >> Brian >>>> >> ( Tried to answer with the wrong e-mail address! ) >>>> >> _______________________________________________ >>>> >> Maia-users mailing list >>>> >> [email protected] <mailto:[email protected]> >>>> >> >>>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users >>>> > >>>> > -- >>>> > Andre Goree >>>> > -=-=-=-=-=- >>>> > Email - andre at drenet.net <http://drenet.net/> >>>> > Website - http://blog.drenet.net <http://blog.drenet.net/> >>>> > PGP key - http://www.drenet.net/pubkey.html >>>> > -=-=-=-=-=- >>>> > _______________________________________________ >>>> > Maia-users mailing list >>>> > [email protected] <mailto:[email protected]> >>>> > http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users >>>> _______________________________________________ >>>> Maia-users mailing list >>>> [email protected] <mailto:[email protected]> >>>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users >>>> >>>> >>>> _______________________________________________ >>>> Maia-users mailing list >>>> [email protected] <mailto:[email protected]> >>>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users >>> >>> _______________________________________________ >>> Maia-users mailing list >>> [email protected] <mailto:[email protected]> >>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users >>> >>> _______________________________________________ >>> Maia-users mailing list >>> [email protected] <mailto:[email protected]> >>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users >> > > > _______________________________________________ > Maia-users mailing list > [email protected] > http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users _______________________________________________ Maia-users mailing list [email protected] http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users