mail/courier-imap 6.0.6,2 MidnightBSD
IMAP (and POP3) server that provides access to Maildir mailboxes
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
4b02df3717- License
- gpl3
- Categories
Description
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.
In the other systems
The newest version among them is 6.0.7, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | mail/courier-imap | 6.0.6,2 behind since 2026-10-01 | no data | - | [email protected] | 2026-08-09 |
| FreeBSD | mail/courier-imap | 6.0.7,2 newest | none known | - | [email protected] | 2026-10-01 |
| OpenBSD | mail/courier-imap | 5.2.10p1 behind since 2026-07-13 | no data | - | Giovanni Bechis <[email protected]> | - |
| NetBSD | mail/courier-imap | 5.2.6nb2 behind since 2026-07-13 | none known | - | [email protected] | 2026-09-29 |
| DragonFly | mail/courier-imap | 5.2.10_1,2 behind since 2026-07-13 | none known | - | [email protected] | - |
| HardenedBSD | mail/courier-imap | 6.0.6_1,2 behind since 2026-10-01 | no data | - | [email protected] | - |
| GhostBSD | mail/courier-imap | 6.0.6_1,2 behind since 2026-10-01 | no data | - | [email protected] | - |
Version history 2
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
mport install courier-imap
From mports:
cd /usr/mports/mail/courier-imap && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= courier-imap>0:mail/courier-imap
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Library 4
libcourier-unicode.so: devel/courier-unicodelibcourierauth.so: security/courier-authlib-baselibidn2.so: dns/libidn2libpcre2-8.so: devel/pcre2
Runtime 1
${LOCALBASE}/share/sysconftool/sysconftool: devel/sysconftool
Build dependencies 4
Run dependencies 5
No port depends on this one.
Configuration
Options name: mail_courier-imap
| Option | Default | Description |
|---|---|---|
| GDBM | off | |
| GNUTLS | off | Use GnuTLS instead of OpenSSL (Enables SNI) |
| INOTIFY | off | Inotify support for IDLE command |
| IPV6 | off | |
| TRASHQUOTA | off | Include deleted mails in the quota |
- USES
- compiler:c++11-lang gmake localbase:ldflags perl5 pkgconfig ssl tar:bzip2
- Service scripts
courier-imap-imapd,courier-imap-imapd-ssl,courier-imap-pop3d,courier-imap-pop3d-ssl- Conflicts with
- courier imap-uw panda-imap
Files
Manual pages 10
- couriertcpd(1)
- deliverquota(8)
- imapd(8)
- maildiracl(1)
- maildirkw(1)
- maildirmake(1)
- makeimapaccess(8)
- mkdhparams(8)
- mkimapdcert(8)
- mkpop3dcert(8)
pkg-plist 66
- bin/couriertls
- bin/deliverquota
- bin/imapd
- bin/maildiracl
- bin/maildirkw
- bin/maildirmake
- bin/makedat
- bin/makeimapaccess
- bin/pop3d
- @preunexec if cmp -s %D/%%CONFDIR%%/imapd-ssl.dist %D/%%CONFDIR%%/imapd-ssl; then rm -f %D/%%CONFDIR%%/imapd-ssl; fi
- %%CONFDIR%%/imapd-ssl.dist
- @postexec %%LOCALBASE%%/share/sysconftool/sysconftool %D/%%CONFDIR%%/imapd-ssl.dist
- @preunexec if cmp -s %D/%%CONFDIR%%/imapd.cnf.dist %D/%%CONFDIR%%/imapd.cnf; then rm -f %D/%%CONFDIR%%/imapd.cnf; fi
- %%CONFDIR%%/imapd.cnf.dist
- @preunexec if cmp -s %D/%%CONFDIR%%/imapd.dist %D/%%CONFDIR%%/imapd; then rm -f %D/%%CONFDIR%%/imapd; fi
- %%CONFDIR%%/imapd.dist
- @postexec %%LOCALBASE%%/share/sysconftool/sysconftool %D/%%CONFDIR%%/imapd.dist
- @preunexec if cmp -s %D/%%CONFDIR%%/pop3d-ssl.dist %D/%%CONFDIR%%/pop3d-ssl; then rm -f %D/%%CONFDIR%%/pop3d-ssl; fi
- %%CONFDIR%%/pop3d-ssl.dist
- @postexec %%LOCALBASE%%/share/sysconftool/sysconftool %D/%%CONFDIR%%/pop3d-ssl.dist
- @preunexec if cmp -s %D/%%CONFDIR%%/pop3d.cnf.dist %D/%%CONFDIR%%/pop3d.cnf; then rm -f %D/%%CONFDIR%%/pop3d.cnf; fi
- %%CONFDIR%%/pop3d.cnf.dist
- @preunexec if cmp -s %D/%%CONFDIR%%/pop3d.dist %D/%%CONFDIR%%/pop3d; then rm -f %D/%%CONFDIR%%/pop3d; fi
- %%CONFDIR%%/pop3d.dist
- @postexec %%LOCALBASE%%/share/sysconftool/sysconftool %D/%%CONFDIR%%/pop3d.dist
- %%CONFDIR%%/quotawarnmsg.example
- %%LIBEXECDIR%%/couriertcpd
- %%LIBEXECDIR%%/imapd-ssl.rc
- %%LIBEXECDIR%%/imapd.rc
- %%LIBEXECDIR%%/makedatprog
- %%LIBEXECDIR%%/pop3d-ssl.rc
- %%LIBEXECDIR%%/pop3d.rc
- share/man/man1/couriertcpd.1.gz
- share/man/man1/maildiracl.1.gz
- share/man/man1/maildirkw.1.gz
- share/man/man1/maildirmake.1.gz
- share/man/man8/deliverquota.8.gz
- share/man/man8/imapd.8.gz
- share/man/man8/mkdhparams.8.gz
- share/man/man8/mkimapdcert.8.gz
- share/man/man8/makeimapaccess.8.gz
- share/man/man8/mkpop3dcert.8.gz
- sbin/imaplogin
- sbin/mkdhparams
- sbin/mkimapdcert
- sbin/mkpop3dcert
- sbin/pop3login
- sbin/sharedindexinstall
- sbin/sharedindexsplit
- share/courier-imap/mkdhparams
- share/courier-imap/mkimapdcert
- share/courier-imap/mkpop3dcert
- share/doc/courier-imap/AUTHORS
- share/doc/courier-imap/INSTALL
- share/doc/courier-imap/NEWS
- share/doc/courier-imap/ChangeLog
- share/doc/courier-imap/README.proxy
- share/doc/courier-imap/README.imapkeywords.html
- share/doc/courier-imap/README.maildirfilter.html
- share/doc/courier-imap/README.maildirquota.txt
- share/doc/courier-imap/README.sharedfolders.txt
- share/doc/courier-imap/README.couriertls
- @dir etc/courier-imap/imapaccess
- @dir var
- @dir %%CONFDIR%%/shared
- @dir %%CONFDIR%%/shared.tmp
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| courier-imap-6.0.6.tar.bz2 | 3.748186e+06 | 857810d8bcfb9e617a0a7e05833b00d6310ca4be3632831c51824841b700664d |
Master sites 1
- SF/courier/imap/6.0.6
Commit history 4
| Date | Commit | Credits | Log message |
|---|---|---|---|
4b02df3717 |
Lucas Holt | mail/courier-imap: update to 6.0.6 (#730) Update `mail/courier-imap` from 6.0.4 to 6.0.6. `Makefile` (PORTVERSION)
and `distinfo` only.
## What changed upstream
From `libs/imap/ChangeLog`:
- **6.0.5** (2026-07-24) — fixes undefined behavior when a subject line
is just `re` or `fwd`.
- **6.0.6** (2026-08-02) — `imapd.C (decode_date_time)` date-parsing
fix, plus packaging (`Rules-Requires-Root:`) and testsuite TZ→Olson
changes.
Distfile grew 3494787 → 3748186 bytes.
## Patch set and plist unchanged
Both `files/patch-Makefile.in` and `files/patch-libs_maildir_configure`
still apply cleanly, no hand-edits. `pkg-plist` diff against FreeBSD's
(already at 6.0.6) is empty.
## Verification
makesum/patch/build/fake/package all OK → `courier-imap-6.0.6,2.mport`.
… |
|
07786ddcb6 |
Lucas Holt | mail/courier-imap: update to 6.0.4 (#728) Update `mail/courier-imap` from 5.3.2_2 to 6.0.4. `PORTEPOCH=2` kept.
## Ordering note
**No dependency on `mail/courier`** — the two `CONFLICTS` each other, so
there's no ordering constraint between that PR and this one. Shared deps
are `devel/courier-unicode` (2.6.0, already aligned with FreeBSD) and
`security/courier-authlib-base`. mports `security/courier-authlib` is
**0.72.1** vs FreeBSD's 0.73.1, but 6.0.4's `LIB_DEPENDS` on
`libcourierauth.so` is unversioned; 0.72.1 satisfies it and the port
compiles and links against it cleanly, so no authlib update was needed.
## Deliberate divergences from FreeBSD
- **INOTIFY stays unconditional.** FreeBSD gates `libinotify` behind
`${OSVERSION} < 1500500` — a FreeBSD-15 number that is meaningless on
… |
|
54e3e2f6c0 |
Lucas Holt | mail/courier: update Unicode dependency AI-Assisted-by: OpenAI Codex <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |
|
c05d159dfd |
Lucas Holt | devel/courier-unicode: update to 2.4.0 mail/courier-imap 5.3.2 requires courier-unicode 2.4.0 during configure. Update courier-unicode so the nested rfc822 configure check can pass, refresh the plist for the new shared library version, and bump direct consumers for the libcourier-unicode.so.10 change.
mail/courier-imap also links against gdbm when built with the default options, so declare that dependency for fake-qa.
AI-Assisted-by: OpenAI Codex <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |