Maia Mailguard is a web-based interface and management system based on the
popular amavisd-new e-mail scanner and SpamAssassin. Written in Perl and PHP,
Maia Mailguard gives end-users control over how their mail is processed by
virus scanners and spam filters, while giving mail administrators the power
to configure site-wide defaults and limits.
===> The following configuration options are available for maia-1.0.4_12:
APACHE=off: Apache server support
ARC=on: ARC support with archivers/arc
ARJ=on: ARJ support with archivers/arj
BDB=on: Use BerkeleyDB
CAB=on: CAB support with archivers/cabextract
CLAMAV=on: Use ClamAV anti-virus
CRYPT=off: Encryption support
DKIM=on: SpamAssassin DKIM plugin
DOCS=on: Build and/or install documentation
DOMAINKEYS=on: SpamAssassin DomainKey plugin
DOVECOT2=off: Use Dovecot 2.x IMAP/POP3
FILE=on: Use newer file(1) utility from ports
IPCOUNTRY=on: SpamAssassin IP Country plugin
LHA=on: LHA support with archivers/lha
LIGHTTPD=off: Use LighTTPD web server
LOCAL=off: All services/databases hosted locally
LZOP=off: LZOP support with archivers/lzop
MYSQL=on: Use MySQL
NGINX=off: Use Nginx web server
NOMARCH=off: ARC support with archivers/nomarch
PFA=off: Use Postfixadmin
PGSQL=off: Use PgSQL
POSTFIX=off: Use Postfix MTA
RAR=off: RAR support with archivers/rar
RPM=on: RPM support with archivers/rpm2cpio
SPAMASSASSIN=on: Use SpamAssassin
SPF=on: SpamAssassin SPF plugin
TNEF=off: Add external tnef decoder
UNARJ=off: ARJ support with archivers/unarj
UNRAR=on: RAR support with archivers/unrar
UNZOO=off: ZOO support with archivers/unzoo
WEBHOST=off: PHP, PEAR, etc... for Maia web interface
ZOO=on: ZOO support with archivers/zoo
===> Use 'make config' to modify these settings
To use Maia-Mailguard, you need to install at least one virus scanner.
The following virus scanners are available in the FreeBSD ports
collection:
security/clamav Clam Antivirus
security/f-prot F-Prot Antivirus
security/drweb DrWeb antivirus suite
Enable Maia-Mailguard in /etc/rc.conf with the following line:
maiad_enable="YES"
Configuration templates are available in /usr/local/etc/maia
as maia.conf.dist and maiad.conf.dist.
Please note that Maia Mailguard no longer supports "mysql" but has
moved forward to using "mysqli" instead. So, please check your
/usr/local/www/maia/config.php file and make any appropriate changes.
security/maia: Deprecate and set expiration date to 2024-12-31
Depends on deprecated dependencies and doesn't work with PHP 8
PR: 281860
Reported by: Janky Jay <ek@purplehat.org>
databases/p5-DBD-mysql: Fix for MariaDB users
Add a new variable DBD_MYSQL, use that in *_DEPENDS and add mysql to USES
where required. DBD_MYSQL will automatically set the correct DBD dependency.
In cd16748194e2 databases/p5-DBD-mysql was updated to 5.x, in 5.x the
support for MariaDB was removed and only MySQL >= 8.0 is supported.
In the 4.x releases MariaDB is still supported, according to upstream 4.x
will still be supported for a while [1], so use that for now when we detect
that MYSQL_FLAVOUR is set to mariadb. databases/p5-DBD-mysql4 was added in
d95f49cb3b54.
DBD:MariaDB would be another alternative, but migrating to it might need
more analysis than just staying with the 4.x releases of p5-DBD-mysql. This
(Only the first 15 lines of the commit message are shown above )
*/*: Remove merged or non-existent USE_PHP directives
- Remove USE_PHP=hash which is available in default php installation of
all versions of php
* security/pear-Horde_Crypt_Blowfish: Remove OPTION MHASH
- Remove USE_PHP=json which is available in default php installation of
all versions of php
* devel/pear-PHPTAL: Remove OPTION JSON
* www/ilias: Remove OPTION SCORM2004
- Remove USE_PHP=mssql which is no longer available in php from php80
and later and has been replaced with sqlsrv module which is Windows
only
* www/codeigniter: Remove OPTION MSSQL
* www/moodle311: Remove OPTION MSSQL
* www/moodle39: Remove OPTION MSSQL
(Only the first 15 lines of the commit message are shown above )
Mk/Uses/apache.mk: Refactor after removal of older versions
apache22 and apache25 had been removed a long time ago however the
apache.mk file has never been refactored and is out of sync from the
file Mk/bsd.default-versions.mk. These changes refactors the removals of
the older versions. In addition:
- Move some keywords like USE_APACHE, USE_APACHE_BUILD, USE_APACHE_RUN
from SANITY_DEPRECATED to SANITY_UNSUPPORTED
- Remove apache versions from ports Makefiles as currently there is only
one available version in the tree. However the version checks are
still valid and should work flawlessly whenever a new version is
added. For example USES=apache:2.2+ are simply replaced with
USES=apache. As currently there are no other versions available for
test this could not be checked on it's own ground.
- Update FOO_USE=APACHE=yes to FOO_USES=apache
- Remove trailing whitespaces
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D38113
security/maia: Update to patch upstream code for UTF-8
- This update includes a patch to fix upstream code that breaks UTF-8
identification and/or conversion.
- Fix WEBHOST option symlink.
PR: 268087
MFH: 2022Q4 (bug fixes)
security/clamav: Update to 1.0.0
* Switch to use bundled TomsFastMath library. Upstream made
incompatible change to bundled copy and this makes it impossible to
use external one. They also dropped option to use it.
* Bump PORTREVISION of consumers as shlib version is changed.
* Note that though this is new LTS feature release security/clamav-lts
stays in 0.103.x until either next regular feature release (probably
1.1.0) is released or 0.103.x reaches its EoL.
ReleaseNotes: https://blog.clamav.net/2022/11/clamav-100-lts-released.html
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
security/maia: Update to 1.0.4_4
Port now fetches from GitHub. While here, pet portlint.
PR: 234518
Submitted by: Janky Jay <ek@purplehat.org> (maintainer)
Introduce PHP flavors.
Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now
flavored. They will automatically get flavors (php56, php70, php71, php72)
depending of the versions they support (set with IGNORE_WITH_PHP). As a
consequence, ports using USES=pear and USES=horde are also flavored.
PR: 226242
Submitted by: mat
Exp-run by: antoine
Approved by: portmgr
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D14208
Remove FREEZE from default options: it pulls `archivers/freeze' as run-time
dependency, which apparently cannot be packaged after r429483 because `NONE'
LICENSE must be explicitly accepted; in turn, this prevented `security/maia'
itself from packaging.
Approved by: maintainer
Rename dovecot2/dovecot2-pigeonhole to dovecot/dovecot-pigeonhole.
It might be necessary to manually remove and reinstall the package under
the new name.
Discussed with: ler
Move {mail,japanese}/p5-Mail-SpamAssassin to &/spamassassin, in the name of
improving accessibility.
I think people who want to just find the port/package and install it are
more likely to look for "spamassassin the program" than "spamassassin the
perl module collection."
- put the scripts in DATADIR
- proper WWWOWN and WWWGRP usage
- ETCDIR usage; config files are now in ${PREFIX}/etc/maia/
- template files are probably going to be edited by the users. Now
they're in ${ETCDIR}/templates/
- STAGE support
- MYSQLSERVER option is now: USE_MYSQL= server
- PGSQLSERVER option is now: USE_PGSQL= server
- lots of cleanup
- several installation tasks should not have been silenced (prefixed
with @)
- rc script passes rclint
- rc script handles the creation of several important directories in
start_precmd
- config files and templates are not overwritten on port upgrade if they
have been modified
PR: ports/185452
Approved by: swills (mentor)
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
Make @dirrms conditional for %%DOCSDIR%% on NOPORTDOCS
PR: ports/162136
Submitted by: 4720@hushmail.com
Approved by: [no rejections from any maintainer within 14 days]
Feature safe: yes
- Update to latest SVN
- While here, fix perl depends to use packages
- Use USERS and GROUPS
- Add some more OPTIONS
- Rename rc script to maiad
PR: ports/159949
Submitted by: Janky Jay III <ek@purplehat.org> (maintainer)
Change dependency on old p5-Compress-Zlib, p5-IO-Compress-Base,
p5-IO-Compress-Zlib and p5-IO-Compress-Bzip2 modules to p5-IO-Compress.
Explicitly depend on p5-IO-Compress only if PERL_LEVEL < 500903
Bump PORTREVISION
Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).
PR: ports/124340
Submitted by: edwin@
Approved by: portmgr (pav)
- New Port maia-1.0.2a
- Maia Mailguard is a web-based interface and management system based on
the popular amavisd-new e-mail scanner and SpamAssassin. Written in Perl
and PHP, Maia Mailguard gives end-users control over how their mail is
processed by virus scanners and spam filters, while giving mail administrators
the power to configure site-wide defaults and limits.
WWW: http://www.maiamailguard.com/
PR: ports/119325
Submitted by: Janky Jay <ek@purplehat.org> (maintainer)
Approved by: linimon (mentor)