Re: Documenting setting up Maia under Ubuntu (UPDATE: Perl)
"Ian R. Justman" <ianj-/[email protected]>
| Newsgroups | gmane.mail.virus.maiamailguard |
|---|---|
| Message-ID | <[email protected]> |
Hi, all.
An update:
I have been working on what it takes to install core Maia on an Ubuntu
(and likely, a Debian) system.
This work assumes Ubuntu 14.04 LTS ("Trusty Tahr") as it is the current
LTS release. This is based on an install straight from a standard
install from CD with only two packages installed, one being a preferred
editor, and the other being git. Some users may use a default editor
from an install, in which case, you need only git.
Here is a list of packages, based on which part depends on them (I
"toplevel" installed as many as possible to resolve as many Maia
dependencies at once per installed module package):
Maia Perl core:
libdbi-perl
libarchive-zip-perl
libconvert-tnef-perl
libconvert-uulib-perl
libdata-uuid-perl
libnet-server-perl
libtemplate-perl
libunix-syslog-perl
spamassassin
Maia Perl database core:
libdbd-mysql-perl (needed for MySQL)
libdb-pg-perl (needed for PostgreSQL)
Maia Perl ancillary utilities:
libtext-csv-perl (maiadbtool.pl)
libforks-perl (process-quarantine.pl)
Maia and SpamAssassin optional features:
libberkeleydb-perl
SpamAssassin optional features and plugin support:
libencode-detect-perl (For normalize_charset feature)
libmail-dkim-perl (For DKIM plugin)
libnet-cidr-lite-perl (For SPF plugin)
razor (For Vipul's Razor module)
After I install everything to satisfy dependencies per the script only
two dependencies "fail" when I run the configtest.pl script to check
Perl dependencies. Both of them are minor are easy to deal with. The
immediate courses of action to follow when installing are:
Digest::SHA1 -- Nothing needs to be done to get Maia working.
This module is not in the Ubuntu repository. Apparently, only Vipul's
Razor depends on this. While the original Razor sources DO refer to
Digest::SHA1, the Ubuntu (and likely Debian) package changes it to use
Digest::SHA which is part of the core Perl 5.18.2 distribution that is
part of Trusty.
Suggest: 1. Dropping this check if Razor2::Clients loads cleanly since
it is the only item which requires Digest::SHA1 based on what
configtest.pl spits out. 2. Figuring out some way to determine whether
we are running on a Debian-, Ubuntu-, or like-type system.
IP::Country::Fast -- Use Geo::IP instead.
IP::Country::Fast is not in the Ubuntu repository. This is for the
RelayCountry plugin in SpamAssassin. The original code of SpamAssassin
3.4.0 (the version that is in Trusty) checks for Geo::IP first, then
falls back on IP::Country::Fast. If both are installed, it prefers Geo::IP.
Suggest checking for both, preferring Geo::IP, then assuming that the
requirement is fulfilled if either loads, possibly indicating which one
loads. If it fails, suggest installing Geo::IP.
I will have a report on PHP modules soon.
--Ian.
--
Ian R. Justman
UNIX hacker. Anime fan. Any questions?
ianj (at) ian-justman.com
Please direct business correspondence to my new address, biz (at)
ian-justman.com. (04/27/2015)
_______________________________________________
Maia-users mailing list
[email protected]
http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users