Re: maia success on php-7.x distros
jjs - mainphrame <[email protected]>
| Newsgroups | gmane.mail.virus.maiamailguard |
|---|---|
| Message-ID | <CABkzw7yYCdnmxT9EG1DdOLbg5MB4jQx7eQ9tv-4u7VYtsUE1oQ@mail.gmail.com> |
Just fixed a typo in the installers. On Thu, Apr 9, 2020 at 4:56 PM Holly Justman <ianj-/[email protected]> wrote: > > I was doing things manually as I'd done in the past. I found out about > the newer Git repository, but I didn't know there was an installation > script now. Will have to clear and start over on my Debian and Ubuntu > setups to see how this works. > > --Holly. > > On 04/09/2020 16:40, jjs - mainphrame wrote: > > Also - be sure and use the latest pull from the repo. It has been > > getting several updates a day. > > > > Jake > > > > On Thu, Apr 9, 2020 at 4:33 PM jjs - mainphrame <[email protected] > > <mailto:[email protected]>> wrote: > > > > Hi Holly, > > > > When you installed with ubuntu 18.04 and Debian, did you install by > > hand, or use the installer? > > > > I've lightly tested the install script for ubuntu 18.04 (it worked > > fine in a container, but if it missed something in a different use > > case, I'd like to see the install log). > > > > I'm running prod maia on Debian 10, which was tested in a container, > > a VM and a physical box. They were all installed with the install > > script. If you look at the installer script for ubuntu-18,04, you > > will see exactly how each component was installed. > > > > I'm not aware of any missing php pieces. > > > > As for html purifier, the reason we specified a path is that pear > > was unable to install htmlpurifier. If that pear issue is fixed, > > then of course, you can uncomment the line that auto detects the > > location. But to get things running right now, the installer > > installs html purifier standalone and specifies the location. > > > > Jake > > > > > > > > On Thu, Apr 9, 2020 at 4:18 PM Holly Justman <ianj-/[email protected] > > <mailto:ianj-/[email protected]>> wrote: > > > > > > > > On 04/05/2020 11:37, jjs - mainphrame wrote: > > > We recently restarted work on our maia repository and have > > had some > > > encouraging deployments. While we originally targeted Centos > > 7, we've > > > since gotten it working on centos 8, and also also tested on > > Debian 10 > > > and Ubuntu 18.04. > > > > > > As of today, my own prod mailguard servers are running on > > Debian 10 and > > > Centos 8. > > > > > > All in all, the Debian 10 deployment has been the least > > troublesome. > > > > > > Cheers, > > > > > > Jake > > > https://github.com/einheit/maia_mailguard_1.04a > > Curious you say this, as I have had nothing but trouble getting > > this > > working under Ubuntu 18.04. > > > > I tried this exact Git repository but was missing a lot of PHP > > stuff. > > Also, there's a defect in the detection script, wherein it makes > > a very > > specific attempt to locate the HTMLPurifier in a very specific > > place. > > Remove the specificity it has (so it's just the module) and it > > works fine. > > > > On to the stuff that is outright broken. How do you get the MDB2 > > support working? There are packages missing for that support in > > Ubuntu > > 18.04's repositories, notably the mysqli MDB2 driver. There's > > reference > > to a package, but only insofar as to say it's not even available. > > "php-mdb2-driver-mysqli (>= 1.5.0~b4) Package not available" says > > packages.ubuntu.com <http://packages.ubuntu.com> for Bionic. > > > > The complete red-item list (assuming these mean requirements or > > Maia > > doesn't work) is below: > > > > PEAR::Mail_mimeDecode FAILED: Not installed. This PHP > > extension is > > required to decode MIME-structured e-mail. Use pear install > > Mail_mimeDecode to install this. (Mail_mimeDecode was split from > > Mail_Mime at version 1.5.0) > > PEAR::DB FAILED: 1.9.2 DB.php installed as: > > /usr/share/php/DB.php > > PEAR::MDB2 FAILED: Could not connect to database. > > Check the > > mysqli://amavis:passwd@tcp(localhost:3306)/maia setting in > > config.php. > > PEAR::MDB2#mysqli FAILED: Not installed. This PHP > > extension is > > required in order to provide database abstraction. Use pear > install > > MDB2#mysqli to install this. > > [...] > > PEAR::Pager FAILED: Not installed. This PHP > > extension is > > required in order to paginate the list of mail items in the > > quarantines > > and the ham cache. Use pear install Pager to install this. > > > > I'm not including the yellow-line stuff as some is optional, > > only for > > graphs. > > > > All this said, I'd rather not have to go outside the > > distribution so I > > can install and update Maia's dependencies automatically. > > > > I also tried using Debian, and a few more prereqs (like php-log) > > weren't > > available. > > > > Were you using Pear to install these? And how do you keep them > > up to > > date when other stuff in PHP gets updated? > > > > Thanks for any insight you may have. > > > > --Holly. > > > > -- > > Holly R. Justman - Formerly Ian (legacy account) > > UNIX hacker. Anime fan. Any questions? > > ianj (at) ian-justman.com <http://ian-justman.com> > > > > -- > Holly R. Justman - Formerly Ian (legacy account) > UNIX hacker. Anime fan. Any questions? > ianj (at) ian-justman.com > _______________________________________________ Maia-users mailing list [email protected] http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users