mail/dovecot24: Fix runtime problems 1. Backport upstream patch that fixes anvil errors/crashes problems related to logged "handshake with duplicate service" messages. 2. Add service reload support to rc.d script. PR: 298769 [1], 298719 [2] Approved by: osa, vvd (Mentors, implicit) Co-authored-by: Herbert J. Skuhra <herbert@gojira.at> Co-authored-by: Alexander Wittig <alexander@wittig.name>1f63a5459d
Port details
mail/dovecot24 2.4.5_2
Secure, fast and powerful IMAP and POP3 server
Port info
- Maintainer
- jordan@ostreff.info
- Packages
- latest: dovecot24 2.4.5_2, dovecot24-cdb 2.4.5_2, dovecot24-ldap 2.4.5_2, dovecot24-mysql 2.4.5_2, dovecot24-pgsql 2.4.5_2, dovecot24-sqlite3 2.4.5_2
- Upstream
- up to date
- Last update
- to 2.4.5_2 · 1f63a5459d
- Quarterly
- 2026Q4: dovecot24 2.4.5_2, dovecot24-cdb 2.4.5_2, dovecot24-ldap 2.4.5_2, dovecot24-mysql 2.4.5_2, dovecot24-pgsql 2.4.5_2, dovecot24-sqlite3 2.4.5_2
- WWW
- https://www.dovecot.org/
- Links
- cgit · VuXML
Install
- Package
# pkg install dovecot24# pkg install dovecot24-cdb# pkg install dovecot24-ldap# pkg install dovecot24-mysql# pkg install dovecot24-pgsql# pkg install dovecot24-sqlite3installs dovecot24 2.4.5_2, dovecot24-cdb 2.4.5_2, dovecot24-ldap 2.4.5_2, dovecot24-mysql 2.4.5_2, dovecot24-pgsql 2.4.5_2, dovecot24-sqlite3 2.4.5_2 fromlatest; fromquarterly(2026Q4) dovecot24 2.4.5_2, dovecot24-cdb 2.4.5_2, dovecot24-ldap 2.4.5_2, dovecot24-mysql 2.4.5_2, dovecot24-pgsql 2.4.5_2, dovecot24-sqlite3 2.4.5_2- Port
# cd /usr/ports/mail/dovecot24 && make install clean# make -C /usr/ports/mail/dovecot24 config # change options first
- Size
- 5.0 MiB download · 26 MiB installed
- Depends on
- archivers/zstd 1.5.7_2, databases/xapian-core 2.1.0,1, devel/pcre2 10.49, lang/lua54 5.4.8, lang/perl5.42 5.42.3, lang/python312 3.12.15, textproc/snowballstemmer 3.1.1
- License
- LGPL21 or MIT
- Creates
- user
dovecot,dovenull, groupdovecot,dovenull - Options
- 5 of 20 on in the package: DOCS EXAMPLES GSSAPI_NONE LUA UTF8
Show the 15 options that are off
CDB GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT ICU IMAP4REV2 LDAP LIBSODIUM LIBUNWIND LZ4 MYSQL PGSQL SOLR SQLITE TEXTCAT - pkg-message
Shown after installing
Please check the configuration file at /usr/local/etc/dovecot/dovecot.conf and edit it as desired. The default configuration includes IMAP and POP3 services, will authenticate users agains the system's passwd file, and will use the default /var/mail/$USER mbox files. Next, enable dovecot in /etc/rc.conf: dovecot_enable="YES" To avoid a risk of mailbox corruption, do not set the security.bsd.see_other_uids or .see_other_gids sysctls to 0 if Dovecot is storing mail for multiple concurrent users (PR 218392). Similarly, setting sysctls security.bsd.hardlink_check_uid or security.bsd.hardlink_check_gid to 1 might result in non-working mailboxes, depending on what mailbox locking mechanism is used (PR 242223). If you want to be able to search within attachments using the decode2text plugin, you'll need to install textproc/catdoc, and one of graphics/xpdf or graphics/poppler-utils. There are some breaking changes in Dovecot 2.4.x. If you are upgrading from earlier version of Dovecot, make sure to read the upgrade guide and adjust the configuration accordingly: * https://doc.dovecot.org/2.4.5/installation/upgrade/overview.html
Shown after removing
If you are removing dovecot permanently, you should 'rm -rf /var/db/dovecot' to clear out any remaining data.
- Note
- Size, dependencies, options and messages are those of dovecot24.
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 2.4.5_2 | 2.4.5_2 | – |
| FreeBSD 15 | 2.4.5_2 | 2.4.5_2 | – |
| FreeBSD 14 | 2.4.5_2 | 2.4.5_2 | 2.4.5_2 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 2.4.5_2 | 2.4.5_2 | – |
| FreeBSD 14 | 2.4.5_2 | 2.4.5_2 | 2.4.5_2 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 2.4.5_2.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.
Commits (4)
mail/dovecot24: Install imap-hibernate unconditionally In Dovecot 2.4.5, upstream updated configure to build imap-hibernate when kqueue notify is available (commit 6859a3aaf0e1). Since kqueue is natively supported on all FreeBSD releases, imap-hibernate now builds unconditionally across all versions. Remove the obsolete OSVERSION < 1500000 check from the Makefile and uncomment the imap-hibernate binary in pkg-plist so it gets properly packaged on FreeBSD 14. PR: 298059 Approved by: osa, vvd (Mentors, implicit)0d98e8eb33
mail/dovecot24: update 2.4.4 -> 2.4.5, fix build PR: 298045 Changes: https://github.com/dovecot/core/releases/tag/2.4.5 Author: Jordan Ostreff <jordan@ostreff.info>34ee419a2e
mail/dovecot24: new port - adding the new version 2.4 of dovecot, while keeping 2.3 in place - please note that the config syntax has changed between 2.3 and 2.4 and needs to be manually adapted, so use/upgrade with care PR: 286695 Reported by: Ian Dickens <ian_dickens@icloud.com> Author: Jordan Ostreff <jordan@ostreff.info> Co-authored-by: Sebastian Oswald <sko@rostwald.de> Discussed with: Sebastian Oswald <sko@rostwald.de>, Eugene R <genie@geniechka.ru>, Herbert J. Skuhra <herbert@gojira.at>, Christos Chatzaras <chris@cretaforce.gr>, and others Tested by: Jordan Ostreff <jordan@ostreff.info>69eaa4454a