Courier-IMAP is a server that provides IMAP access to Maildir mailboxes.
This IMAP server does NOT handle traditional mailbox files
(/var/spool/mail, and derivatives), it was written for the specific
purpose of providing IMAP access to Maildirs.
Courier-IMAP implements some extensions to the basic Maildir mail
storage format in order to support some additional features, such as
folders and "soft" quotas. This is done in a way that's backwards
compatible with the standard Maildir users (although, of course, they
will ignore the additional features). Other software that understands
and uses the same Maildir extensions is SqWebMail, and maildrop.
Features:
* Extremely small footprint.
* Abstract authentication modules.
* Virtual mailbox support.
* Pop3 daemon.
===> The following configuration options are available for courier-imap-6.0.7,2:
AUTH_LDAP=off: LDAP support
AUTH_MYSQL=off: MySQL support
AUTH_PGSQL=off: PostgreSQL support
AUTH_SQLITE=off: SQLite support
AUTH_USERDB=off: Userdb support
AUTH_VCHKPW=off: popmail/vchkpw support
DOCS=on: Build and/or install documentation
GDBM=off: GNU dbm library support
GNUTLS=off: Use GnuTLS instead of OpenSSL (Enables SNI)
INOTIFY=off: Inotify support for IDLE command
IPV6=on: IPv6 protocol support
TRASHQUOTA=off: Include deleted mails in the quota
===> Use 'make config' to modify these settings
mail/courier-imap: Update version check for INOTIFY option
FreeBSD 14.5 includes the inotify implementation in libc. Update
the version check to avoid linkingg to the ports provided library
in this case.
MFH: 2026Q3
mail/courier-imap: Add note on solving possible memory issue
When scanning maildirs with many files (more than 120000) the imapd
daemon can crash reaching it's ulimit memory.
Add a note to pkg-message about a configuration value that can be
used to increase the limit.
PR: 296444
MFH: 2026Q3
mail/courier-imap: Clean up a and modernize Makefile
- Use bsd.port.options.mk instead of pre/post mk
- Apply portlint and portclippy suggestions
PR: 293399
mail/courier-imap: Fix inotify support on FreeBSD 15 and up
FreeBSD 15 introduced a native inotify implementation in libc; avoid
depending and linking libinotify on these relases, since it interferes
with the libc implementation.
MFH: 2026Q1
mail/courier-imap: Apply hack to fix reported runtime issue
A runtime issue has been reported at [1] which causes courier-imap
to not work properly.
Experimenting shows this issue disappears by downgrading
devel/libunistring to previous version 1.2, but no clear reason why
has been uncovered.
This commit applies a patch similar to what is suggested in [1]
that makes it work as expected.
[1]
https://lists.freebsd.org/archives/freebsd-questions/2025-February/006307.html
Reported by: Benjamin Lutz <mail@maxlor.com>
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 )
mail: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <ashish@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Adam David <adam@FreeBSD.org>
* Adam McDougall <mcdouga9@egr.msu.edu>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alex Deiter <tiamat@komi.mts.ru>
* Alex Dupre <ale@FreeBSD.org>
* Alex Dupre <sysadmin@alexdupre.com>
* Alex Perel <veers@disturbed.net>
(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)
- Update courier-imap to 5.1.1
- Remove FAM option due tro upstream dropping support
- Add new INOTIFY option (off by default) to enable using new inotify API
provided by upstreeam, adds an optional dependency on devel/libinotify
- While here sort options list and helpers
No need to force location of COURIERAUTHCONFIG. Let configure get it from the
PATH.
Forcing it could brake build when using non standard PREFIX.
Reported by: Mark Dickey <mark@bestweb.net> (via email)
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
Update `databases/gdbm' to version 1.18.1, an important bugfix release
which restores compatibility with old databases (version 1.8) and some
later versions which were built without mmap(2) support. Due to shlib
version change, bump port revisions of the consumer ports.
PR: 233059
Exp-run by: antoine
Approved by: maintainer (johans, numerous timeouts)
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.
This includes ports
- featuring USE_GCC=yes or USE_GCC=any,
- featuring USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and those
- with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.
PR: 222542
Adjust USES to fix building on gcc-based archs (in particular, powerpc64).
On the clang architectures, these changes have no effect: the baser
compiler already includes the needed features.
While here, remove now-redundant CXXFLAGS statements and pet portlint
(no other content change).
Tested on both powerpc64 and amd64.
Approved by: portmgr (tier-2 blanket)
- Update devel/courier-unicode to 2.0
- Update mail/cone to 0.96
- Update mail/courier-imap to 4.18.0 [1]
- Update mail/maildrop to 2.9.0
- Update mail/sqwebmail to 5.9.0 [1]
- Update security/courier-authlib (and slaves) to 0.68.0 [1]
On request from oliver@, take maintainership of the courier-authlib
ports and the courier-imap port.
Approved by: oliver@ (maintainer) [1]
Differential Revision: https://reviews.freebsd.org/D11467
- Update security/gnutls to 3.4.10.
- Rename the LIBDANE option DANE because that's the name of the protocol
supported by libgnutls-dane and gnutls-cli. Also clarify the option
description.
- Add an IDN option.
- libgnutls-openssl has been removed in 3.4. Some ports used this library
in their LIB_DEPENDS but no port actually required it.
- Some old API functions have been removed. Ports that used these have been
updated or patched to use the new API.
- Add a patch to print/cups to prevent overlinking of libgnutls.so.
- Bump PORTREVISION on dependent ports.
net-im/jabber: This port used the old API to give users fine grained
control over which crypto algorithms were used via a configuration file.
It's not immediately obvious how to port this to the new API so the port
always uses the defaults now.
www/hydra: Mark BROKEN. This uses more removed calls than the other ports,
is said to be alpha quality and not fully functional and has been abandoned
10 years ago.
PR: 207768
Exp-run by: antoine
Approved by: portmgr (antoine)
- Update mail/courier-imap to 4.16.2
- Update mail/sqwebmail to 5.8.3
- Update security/courier-authlib to 0.66.3
- Remove no more needed patch from mail/maildrop
Approved by: oliver (maintainer)
Differential Revision: https://reviews.freebsd.org/D2975
- Update courier-unicode to 1.2
- Update courier-imap to 4.16.1
- Update maildrop to 2.8.2
- Update sqwebmail to 5.8.2
- Update courier-authlib to 0.66.2
- Some plist and Makefile modernization
Approved by: oliver@ (as maintainer of various of these ports)
Differential Revision: https://reviews.freebsd.org/D2391
- Display a stage-qa warning when ports use PREFIX/var instead of /var
- Add --localstatedir=/var to _LATE_CONFIGURE_ARGS (like --mandir) but not
when CONFIGURE_ARGS already sets it. (GNU configure scripts set it to
PREFIX/var when PREFIX != /usr.)
- Add --localstatedir="${PREFIX}/var" to CONFIGURE_ARGS in some ports so
they aren't affected by this change (for now at least). This commit is
meant to ensure that new ports don't make the same mistake.
- games/acm: the configure script in this port is very old; instead of
patching it more, just replace GNU_CONFIGURE with HAS_CONFIGURE.
- irc/charybdis: it already used /var but adding --localstatedir=/var
changed the behaviour of the configure script; adjust the port to this.
PR: 199506
Exp-run by: antoine
Approved by: portmgr (antoine)
- Replace security/gnutls with security/gnutls3 and update to 3.2.15
- Bump PORTREVISION on all ports that depend on security/gnutls and
adjust all ports that depend on security/gnutls3
- Update mail/anubis to version 4.2 which supports gnutls 3.x
- Update mail/libvmime to a development snapshot (recommended by upstream
developers)
PR: 191274
Exp-run by: antoine
Approved by: portmgr (antoine)
Convert GMAKE to MAKE_CMD
Please note that lots of invocation of MAKE_CMD here are wrong as they do not
properly respect MAKE_ENV and friends
With hat: portmgr
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