BSD Ports

mail/courier-imap 6.0.7,2 FreeBSD

IMAP (and POP3) server that provides access to Maildir mailboxes

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
5e9ad8b243
License
GPLv3
Categories
mail
Package size
577.8 KiB, 1927.7 KiB installed

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

SystemPortVersion
FreeBSDmail/courier-imap6.0.7,2
OpenBSDmail/courier-imap5.2.10p1
NetBSDmail/courier-imap5.2.6nb2
DragonFlymail/courier-imap5.2.10_1,2
MidnightBSDmail/courier-imap6.0.6,2
HardenedBSDmail/courier-imap6.0.6_1,2
GhostBSDmail/courier-imap6.0.6_1,2

Install

Binary package:

pkg install courier-imap

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	courier-imap>0:mail/courier-imap

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest6.0.7,26.0.7,25.2.1,25.2.11,26.0.7,2
FreeBSD:14:quarterly6.0.6_1,26.0.6_1,2n/a5.2.11,26.0.6_1,2
FreeBSD:15:latest6.0.7,26.0.7,2n/a5.2.11,25.2.11,2
FreeBSD:15:quarterly6.0.6_1,26.0.6_1,2n/an/an/a
FreeBSD:16:latest6.0.7,26.0.7,2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 4

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 12
Run dependencies 9

No port depends on this one.

Configuration

Options name: mail_courier-imap

OptionDefaultDescription
GDBMoffGNU dbm library support
GNUTLSoffUse GnuTLS instead of OpenSSL (Enables SNI)
INOTIFYoffInotify support for IDLE command
IPV6offIPv6 protocol support
TRASHQUOTAoffInclude 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

Message after installing

In case you use authpam, you should put the following lines
in your /etc/pam.d/imap:

auth    required    pam_unix.so         try_first_pass
account required    pam_unix.so         try_first_pass
session required    pam_permit.so

You will have to run /usr/local/share/courier-imap/mkimapdcert to create
a self-signed certificate if you want to use imapd-ssl.
And you will have to copy and edit the *.dist files to *
in /usr/local/etc/courier-imap.

If you have maildirs with a lot of messages
(indicatively > 120000), imapd could exhaust memory while
scanning them.
If you see the imapd process crash with SIGABRT try
incrasing the ULIMIT setting in imapd configuration file.

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
FileSizeSHA256
courier-imap-6.0.7.tar.bz23.748592e+0633827a707a14c155e858253e6aa82d7483d12c33bd09edbe4c3dd520dd13fd7f
Master sites 1
  • SF/courier/imap/${PORTVERSION}

Commit history 8

DateCommitCreditsLog message
5e9ad8b243 Guido Falsi mail/courier-imap: Update to 6.0.7
a9309a59e3 Guido Falsi 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
4e5eafd268 Guido Falsi mail/courier-imap: Update to 6.0.6
ccae5fb617 Guido Falsi mail/courier-imap: Update to 6.0.5
- Update includes fix for potential crash on messages with certain subjects MFH: 2026Q3
38f8b71365 Guido Falsi mail/courier-imap: Update to 6.0.4
Fixes crash when using CRAM-MD5 authentication PR: 296975 MFH: 2026Q3

The latest 5 of 8 in the history this site was built from.