Dbmail is the name of a group of programs that enable the possibility of
storing and retrieving mail messages from a database (currently MySQL,
PostgreSQL or SQLite).
* Scalability.
Dbmail is as scalable as the database system that is used for the mail
storage. In theory millions of accounts can be managed using dbmail. One
could, for example, run 4 different servers with the pop3 daemon each
connecting to the same database (cluster) server.
* Manageability.
Dbmail is based upon a database. Dbmail can be managed by changing settings
in the database (f.e. using PHP/Perl/SQL), without needing shell access.
* Speed.
Dbmail uses very efficient, database specific queries for retrieving mail
information. This is much faster then parsing a filesystem.
* Security.
Dbmail has got nothing to do with the filesystem or interaction with other
programs in the Unix environment which need special permissions. Dbmail is
as secure as the database it's based upon.
* Flexibility.
Changes on a Dbmail system (adding of users, changing passwords etc.) are
effective immediately.
===> The following configuration options are available for dbmail-3.5.6_1:
DOCS=on: Build and/or install documentation
LDAP=off: LDAP protocol support
SIEVE=on: Sieve mail sorting language support
===> Use 'make config' to modify these settings
mail/dbmail: unbreak build after a315965d7d62ea69f5aed95c37e7ad36c900dc61 (+)
Restore version for libzdb.so.19 dependency checks to avoid name conflict
with base libzdb.so from recent ZFS presented at least on 15.x and -current
% pkg which /usr/lib/libzdb.so
/usr/lib/libzdb.so was installed by package FreeBSD-zfs-dev-16
mail/dbmail: unbreak on FreeBSD15+, take maintainership (+)
On FreeBSD 15+ with recent ZFS in a box we always have libzdb.so and zdb.h
installed
which conflicts with databases/zdb and breaks the build of dbmail
Set workaround to use <zdb/zdb.h> instead of plain <zdb.h>
PR: 291389
MFH: 2025Q4
Approved by: bofh (former maintainer)
all: drop support for expired FreeBSD 14.0
Simplify expressions for FreeBSD 13.X
Reviewed by: many
Differential Revision: https://reviews.freebsd.org/D46601
Mk/**ldap.mk: Convert USE_LDAP to USES=ldap
Convert the USE_LDAP=yes to USES=ldap and adds the following features:
- Adds the argument USES=ldap:server to add openldap2{4|5|6}-server as
RUN_DEPENDS
- Adds the argument USES=ldap<version> and replaces WANT_OPENLDAP_VER
- Adds OPENLDAP versions in bsd.default-versions.mk
- Adds USE_OPENLDAP/WANT_OPENLDAP_VER in Mk/bsd.sanity.mk
- Changes consumers to use the features
Reviewed by: delphij
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D38233
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 )
*/*: Remove redundant '-[0-9]*' from CONFLICTS
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").
Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".
Approved by: portmgr (blanket)
- Unbreak fetch, official site provide pure .tar.gz only
- Teach configure to find openssl libs from base without pkg-config
- Use libc to find gethostbyname(), connect(), res_search()
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
mail/dbmail: adopt latest fixes from git:
- login_disabled option before starttls for pop3
- fix compiler warnings for GCC5
- Fix IMAP mailbox maintanence
- prevent assertion in p_string_erase
- improve crypt authentication, also don't segfault when spasswd is empty
- simplify log_query_time duration logic
- Disconnect IMAP clients if only few free FDs left
- Add primary key constraint to dbmail_authlog
- Rework temporary connection failures
- Give sensible default for retry 120s
- Add retries for binding and searching
- Bump search timeout to 60s
- Increase ldap timeout to 600s 10 mins
(Only the first 15 lines of the commit message are shown above )
Upgrade mail/dbmail to 3.2.0
3.2.0 contains all the stability improvements done in 3.1 over the
last year. On top of that, it has some nice additions of it's own:
- auto-migrations; An admittedly little tested feature is automatic
migrations of the database schema. Running any of the binaries against
an up-to-date and standard 3.1 schema will try to do all the necessary
upgrades if required.
- static code audit; the Coverity service was used to flush out as
many potential problems as possible.
- new capabilities; some interesting new IMAP capabilities have been
added. QRESYNC (rfc5162), LITERAL+ (rfc2088), UIDPLUS (rfc4315) will
improve performance especially for mobile clients.
Also:
- Remove redundant option THREADS
- Add additional mirror
- Rework post-install for auto-migration scripts
- Use @sample framework
PR: 192967
Submitted by: maintainer
net/openldap24-*:
- Convert to USES=libtool and bump dependent ports
- Avoid USE_AUTOTOOLS
- Don't use PTHREAD_LIBS
- Use MAKE_CMD
databases/glom:
- Drop :keepla
- Add INSTALL_TARGET=install-strip
databases/libgda4* databases/libgda5*:
- Convert to USES=libtool and bump dependent ports
- USES=tar:xz
- Use INSTALL_TARGET=install-strip
- Use @sample
(Only the first 15 lines of the commit message are shown above )
Only use libevent2
Remove libevent as libevent2 is providing a good compatibility interface as well
as providing better performances.
Remove custom patches from libevent2 and install libevent2 the regular way
Mark ports abusing private fields of the libevent1 API as broken
Import a patch from fedora to have honeyd working with libevent2
Remove most of the patches necessary to find the custom installation we used to
have for libevent2
With hat: portmgr
- Update to version 3.1.13 [1]
- Convert SIEVE option description to current standards
Bugfixes:
- when an IMAP client asked for a part of a message that started after
the total length of the message, imapd crashed.
- on some platforms, pop3d would sometimes continue to try writing to
a partially disconnected client, throwing pop3d in a spin-lock.
- on pop3d, timsieved and lmtpd disconnecting clients would cause
memory leakage
New features:
- dbmail.conf now adds a new options 'header_cache_readonly = yes|no',
Setting it to 'yes' will prevent addition of new rows to the
dbmail_headername table. You can now start pruning that table, without
having to worry about new messages re-adding those rows.
- the usermap feature now also supports default routes on allowed and
denied sockets. So you can simply disallow certain users from
connecting on any address using 'inet:0.0.0.0/0:143' as a socket
specification.
PR: ports/187849 [1]
Submitted by: maintainer
- Update from 3.1.9 to 3.1.10
while here
- Convert all "if's" in options helpers
PR: ports/186047
Submitted by: Alan Hicks <ahicks@p-o.co.uk> (maintainer)
- Update to 3.1.3
- Remove uneeded DEBUG flags
- Convert to new LIB_DEPENDS format
- Convert to USES=gmake
Check share/doc/dbmail/UPGRADING for updating details.
PR: ports/180963
Submitted by: Alan Hicks <ahicks@p-o.co.uk> (maintainer)
- Fix issue with building dmail, when perl build
without /usr/bin/perl symlink.
PR: ports/177467
Submitted by: Lukasz Wasikowski <lukasz@wasikowski.net>
Approved by: Alan Hicks <ahicks@p-o.co.uk> (maintainer and patch)
- remove quotes from option description
while here:
- trim Makefile header
- convert DOCS case to optionsng
- remove conflicts with dbmail 2.0, that is not in the tree
- tab -> space change in pkg-descr:WWW
PR: 172611
Submitted by: Alan Hicks <ahicks at p-o.co dot uk> (maintainer)
Feature safe: yes
- Fix error connecting from ipv6 address.
- Also fix typo in timsieved rc script and updated from
bsd.ports.[pre|post].mk to bsd.ports.mk
- Bump PORTEVISION
PR: ports/169268
Submitted by: Alan Hicks <ahicks@p-o.co.uk> (maintainer)
- Update to fix LDAP linking to libldap.so instead of libldap_r.so, upstream
mainly have linux where the libraries are symlinked so less interest in
fixing.
- fix bug where the mhash version is shown instead of the dbmail one.
- Bump PORTREVISION
PR: 168501
Submitted by: Maintainer
- update to 3.0.2
- pass maintainership to submitter
- add LICENSE
- drop optional dependencies on database backends - since 3.0 it's
handled with libzdb
- rename rc-scripts to .sh-less ones
- add UPDATING entry for users, that want to stay with dbmail 2.2.x
Please note, that committed patch is reworked version of originally
submitted (missing deps added, rc-scripts renamed, NOPORTDOCS issue
handled more completely, some plist fixes applied). Sorry for delay.
PR: 164631
Submitted by: Alan Hicks <ahicks at p-o.co dot uk>
Feature safe: yes
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.
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead
PR: 157936
Submitted by: myself
Exp-runs by: pav
Approved by: pav
-Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.
It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.
With help: marcus and kwm
Pointyhat-exp: a few times by pav
Tested by: pgollucci, "Romain Tartière" <romain@blogreen.org>, and
a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by: marcus
Approved by: portmgr
Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.
1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).
No PORTREVISION bumps because all of these changes are noops.