BSD Ports

mail/courier 1.5.1 MidnightBSD

Courier SMTP IMAP POP3 HTTP mail server suite

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
1239a64af0
License
gpl3
Categories
mail

Description

Courier is a modular multiprotocol mail server that's designed to strike a balance between reasonable performance, flexibility and features:

* Can be configured to function as an intermediate mail relay, or as a mail server that receives mail for one or more domains, or anything in between. * Web-based administration and configuration tool. * Uses an efficient maildir format as its native mail storage format. Some support is provided for legacy mbox mailboxes. * STARTTLS ESMTP extension (as well as IMAP/POP3/Webmail over SSL) in both the client and the server (requires OpenSSL). The ESMTP client can optionally require that the remote server's X.509 certificate is signed by a trusted root CA (a default set of root CAs is provided). * Mailboxes can be accessed via POP3, IMAP, SMAP, and HTTP. * A faxmail gateway that forwards E-mail messages via fax. * Courier includes a mailing list manager. * PAM, LDAP, PostgreSQL, or MySQL authentication. * Authenticated SMTP. * Integrated mail filtering.

In the other systems

SystemPortVersion
MidnightBSDmail/courier1.5.1
FreeBSDmail/courier1.5.1_1
HardenedBSDmail/courier1.5.1_1
GhostBSDmail/courier1.5.1_1

Install

Binary package:

mport install courier

From mports:

cd /usr/mports/mail/courier && make install clean

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

RUN_DEPENDS=	courier>0:mail/courier

Dependencies

As this port's Makefile names them.

Build 3

Library 5

Runtime 6

Build dependencies 8
Run dependencies 11

No port depends on this one.

Configuration

Options name: mail_courier

OptionDefaultDescription
ASPELLoffASpell support for WebMail
CERTSDIRoffseparate .pem directory for certificates
DOCSoff
EMPTYALIASESoffcreate empty aliases file
GNUPGoffGNU Privacy Guard support for WebMail
IPV6off
ISPELLoffISpell support for WebMail
LDAPoffLDAP-based mail aliasing support
MAILCONFoffmodify mailer.conf to use courier instead of sendmail
PROCMAILoffProcmail local delivery support
SENDFAXoffmgetty+sendfax support
SYSTEMALIASESonsymlink system /etc/aliases
UUCPoffUUCP support
WEBMAILFLAGSoffwebmail show flags patch
WEBMAILRSENTonenable Autorename Sent folder
WEBMAILXFACEoffexperimental webmail X-Face patch
USES
gettext gmake libtool localbase perl5 pkgconfig shebangfix ssl tar:bzip2
Service scripts
courier
Conflicts with
courier-imap-2.* couriermlm-0.* exim-4.* maildrop-1.* panda-imap-201* postfix-1.* postfix-2.* qmail-*-1.* qmail-1.* sendmail-*-8.* sendmail-8.* smail-3.* sqwebmail-3.* zmailer-2.*

Files

Manual pages 64
  • aliaslookup(8)
  • cancelmsg(1)
  • courier(8)
  • courierfax(8)
  • courierfilter(8)
  • courierldapaliasd(8)
  • couriermlm(1)
  • courierperlfilter(8)
  • courierpop3d(8)
  • courierpop3login(8)
  • couriertcpd(1)
  • couriertls(1)
  • courieruucp(8)
  • deliverquota(8)
  • dot-courier(5)
  • dot-forward(1)
  • dotforward(1)
  • dupfilter(8)
  • esmtpd(8)
  • esmtpd-msa(8)
  • filterctl(8)
  • imapd(8)
  • localmailfilter(7)
  • lockmail(1)
  • mailbot(1)
  • maildir(5)
  • maildiracl(1)
  • maildirkw(1)
  • maildirmake(1)
  • maildirquota(7)
  • maildirwatch(1)
  • maildrop(1)
  • maildropex(7)
  • maildropfilter(7)
  • maildropgdbm(7)
  • mailq(1)
  • makeacceptmailfor(8)
  • makealiases(8)
  • makedat(1)
  • makehosteddomains(8)
  • makeimapaccess(8)
  • makemime(1)
  • makepercentrelay(8)
  • makesmtpaccess(8)
  • makesmtpaccess-msa(8)
  • makeuucpneighbors(8)
  • mimegpg(1)
  • mkdhparams(8)
  • mkesmtpdcert(8)
  • mkimapdcert(8)
  • mkpop3dcert(8)
  • pop3d(8)
  • pop3d-ssl(8)
  • preline(1)
  • ratefilter(8)
  • reformail(1)
  • reformime(1)
  • rmail(1)
  • sendmail(1)
  • submit(8)
  • testmxlookup(1)
  • verifyfilter(8)
  • verifysmtp(8)
  • webmlmd(1)
pkg-plist 580
  • @postunexec rm -f %D/etc/courier/*.dat 2>/dev/null || true
  • bin/addcr
  • @(,,) bin/cancelmsg
  • bin/courier-config
  • bin/couriermlm
  • bin/couriertls
  • bin/deliverquota
  • bin/dotforward
  • bin/imapd
  • bin/lockmail
  • bin/mailbot
  • bin/maildiracl
  • bin/maildirkw
  • bin/maildirmake
  • @(,,4511) bin/maildrop
  • @(,,2555) bin/mailq
  • bin/makedat
  • bin/makemime
  • bin/mimegpg
  • bin/preline
  • bin/reformail
  • bin/reformime
  • @(,,4511) bin/rmail
  • @(,,4511) bin/sendmail
  • bin/testmxlookup
  • bin/verifysmtp
  • bin/webmlmd
  • bin/webmlmd.rc
  • etc/courier/aliases/system
  • @postexec [ -e /etc/aliases ] && ln -sf /etc/aliases %D/etc/courier/aliases/system
  • @postexec true > %D/etc/courier/aliases/system
  • @sample etc/courier/courierd.sample
  • etc/courier/crontab
  • etc/courier/dsndelayed.txt
  • etc/courier/dsndelivered.txt
  • etc/courier/dsnfailed.txt
  • etc/courier/dsnfooter.txt
  • etc/courier/dsnheader.txt
  • etc/courier/dsnrelayed.txt
  • etc/courier/dsnsubjectnotice.txt
  • etc/courier/dsnsubjectwarn.txt
  • etc/courier/enablefiltering
  • etc/courier/esmtp.authpam
  • @(,,) etc/courier/esmtpauthclient
  • @sample etc/courier/esmtpd-msa.sample
  • @sample etc/courier/esmtpd-ssl.sample
  • @sample etc/courier/esmtpd.cnf.sample
  • @sample etc/courier/esmtpd.sample
  • @sample etc/courier/faxcoverpage.tr.sample
  • @sample etc/courier/faxnotifyrc.sample
  • @sample etc/courier/faxrc.sample
  • @sample etc/courier/imapd-ssl.sample
  • etc/courier/imapd.authpam
  • @sample etc/courier/imapd.cnf.sample
  • @sample etc/courier/imapd.sample
  • @sample etc/courier/ldapaddressbook.sample
  • @sample etc/courier/ldapaliasrc.sample
  • etc/courier/locallowercase
  • etc/courier/maildrop
  • etc/courier/maildropfilter
  • etc/courier/module.dsn
  • etc/courier/module.esmtp
  • etc/courier/module.fax
  • etc/courier/module.local
  • etc/courier/module.uucp
  • @sample etc/courier/pop3d-ssl.sample
  • etc/courier/pop3d.authpam
  • @sample etc/courier/pop3d.cnf.sample
  • @sample etc/courier/pop3d.sample
  • etc/courier/quotawarnmsg.example
  • etc/courier/smtpaccess/default
  • @sample etc/courier/sqwebmaild.sample
  • etc/courier/webmail.authpam
  • @sample etc/courier/webmlmrc.sample
  • @(,,) libexec/courier/aliascombine
  • @(,,) libexec/courier/aliascreate
  • @(,,) libexec/courier/aliasexp
  • @(,,) libexec/courier/courierd
  • libexec/courier/courierfilter
  • libexec/courier/courierpop3d
  • libexec/courier/courierpop3login
  • libexec/courier/imaplogin
  • libexec/courier/makedatprog
  • @(,,) libexec/courier/modules/dsn/courierdsn
  • @(,,) libexec/courier/modules/esmtp/addcr
  • @(,,) libexec/courier/modules/esmtp/courieresmtp
  • @(,,) libexec/courier/modules/esmtp/courieresmtpd
  • @(,,) libexec/courier/modules/fax/courierfax
  • @(,,) libexec/courier/modules/local/courierdeliver
  • @(,,) libexec/courier/modules/local/courierlocal
  • @(,,) libexec/courier/modules/uucp/courieruucp
  • libexec/courier/pcpd
  • libexec/courier/sqwebmaild
  • @(,,2555) libexec/courier/sqwebpasswd
  • @(,,) libexec/courier/submit
  • @(,,) libexec/courier/submitmkdir
  • libexec/courier/webmail/webadmin
  • libexec/courier/webmail/webmail
  • libexec/courier/webmail/webmlm
  • libexec/filters/dupfilter

The first 100 are listed.

distinfo 1
FileSizeSHA256
courier-1.5.1.tar.bz28.470196e+06521d1dcbb5038ff635d8e264eee2c45d4638b05a8551c3107d47b227df41a162
Master sites 1
  • SF

Commit history 3

DateCommitCreditsLog message
1239a64af0 Lucas Holt mail/courier: update to 1.5.1 (#727)
Update `mail/courier` from 1.1.11_3 to 1.5.1. ## Rebased on FreeBSD's 1.5.1 port The old-style `.if ${PORT_OPTIONS:M…}` blocks become options helpers with `OPTIONS_SUB=yes`, and the MidnightBSD delta is replayed on top. The plist marker renames (`%%WITHFAX%%`→`%%SENDFAX%%`, `%%WITHLDAP%%`→`%%LDAP%%`, `%%WITHUUCP%%`→`%%UUCP%%`, `%%WITHCERTSDIR%%`→`%%CERTSDIR%%`) are required by `OPTIONS_SUB`, and `files/courier.in` / `files/pkg-install.in` / `files/pkg-message.in` follow those renames. ## An mports-only patch was dropped — please confirm **`files/patch-courier__submit.C` is deleted.** Hunk 1 of 2 failed against 1.5.1: upstream rewrote `my_spf_lookup()` (pointer→reference, new `identity=` / uppercase `SPF=` header format), leaving an unbalanced …
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]>