BSD Ports

mail/courier-imap 5.2.10p1 OpenBSD

imap server for maildir format mailboxes

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Giovanni Bechis <[email protected]>
Categories
mail

Description

Courier-IMAP is a server that provides IMAP access to Maildirs 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.

The 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.

"Maildir" is a directory-based mail storage format originally introduced in the Qmail mail server, and adopted as an alternative mail storage format by both Exim and Postfix. Courier-IMAP is popular on Qmail/Exim/Postfix sites that are configured to use maildirs. The primary advantage of maildirs is that multiple applications can access the same maildir simultaneously without requiring any kind of locking whatsoever. It is a faster and more efficient way to store mail. It works particularly well over NFS, which has a long history of locking-related woes.

It is part of the Courier mail server (http://www.courier-mta.org) but can be configured as a standalone IMAP server.

Features include an extremely small memory footprint, abstract authentication modules (e.g. /etc/passwd, LDAP, PAM), virtual mailbox support, resource controls, SSL/TLS, and IPv6 support.

In the other systems

The newest version among them is 6.0.7, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
OpenBSDmail/courier-imap5.2.10p1 behind since 2026-07-13no data-Giovanni Bechis <[email protected]>-
FreeBSDmail/courier-imap6.0.7,2 newestnone known-[email protected]2026-10-01
NetBSDmail/courier-imap5.2.6nb2 behind since 2026-07-13none known-[email protected]2026-09-29
DragonFlymail/courier-imap5.2.10_1,2 behind since 2026-07-13none known-[email protected]-
MidnightBSDmail/courier-imap6.0.6,2 behind since 2026-10-01no data-[email protected]2026-08-09
HardenedBSDmail/courier-imap6.0.6_1,2 behind since 2026-10-01no data-[email protected]-
GhostBSDmail/courier-imap6.0.6_1,2 behind since 2026-10-01no data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg_add courier-imap

From the ports tree:

cd /usr/ports/mail/courier-imap && make install

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

Build dependencies 6
Run dependencies 5

No port depends on this one.