821 Commits
Author SHA1 Message Date
Georg Lauterbach 168b084f1d release: v17.0.0
Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
2026-11-06 00:49:20 +01:00
Alan SavageandGeorg Lauterbach 172848ccda feat(ci): rebuild supported releases when package updates are available (#4839)
* ci: rebuild supported releases when package updates are available

Check the published image of each supported release every hour and only
rebuild when `apt-get upgrade` would change something in it, instead of
rebuilding blindly once a week. Scheduled runs skip an image younger than
3 hours. Manual runs still rebuild unconditionally unless
`only-if-updates` is set.

* docs: describe rebuilds on package updates instead of weekly rebuilds

* ci: ignore packages that never clear when checking for updates

dovecot-fts-xapian is built from source as 1.9.1-1~bpo12+1 in v16, which
apt always sorts below the Debian package, so it would trigger a rebuild
on every cooldown. List the pending packages in the log.

* ci: schedule the check at minute 17 instead of the start of the hour

* docs: link the changelog entry to the PR

* docs: fix the changelog link text

* ci: do not trigger release rebuilds on Rspamd updates

v16 installs Rspamd from the rspamd.com apt repository, so every upstream
release showed up as a pending update and would be published to the floating
tags. Rebuilds should only pick up Debian updates. From v17 on, Rspamd is a
pinned `.deb` without an apt repository.

* ci: attempt a scheduled release rebuild only once per set of pending updates

The cooldown is based on the age of the published image, but a failed rebuild
publishes nothing. A rebuild that keeps failing was therefore started again on
every hourly run, and an update that never clears every 3 hours.

Each attempt is now recorded as an artifact named after the release and a hash
of the pending updates (`name=version`, ignored packages left out). The
`resolve` job skips a release whose pending updates were already attempted. The
record is written by a new `record-attempt` job that runs in parallel to the
rebuild, so it exists whatever the outcome is. It expires after 7 days, so the
same updates are retried at most once a week. New updates change the name and
are attempted right away.

Also pass `--error-on=any` to `apt-get update` in the check: without it, apt
exits 0 when index downloads fail, which made an outage look like "nothing
pending" instead of failing the job.

* ci: check for package updates daily instead of hourly

The check runs at 06:17 UTC. A fix reaches the floating tags within about a day
plus the build time instead of within about an hour, which is sufficient for
Debian security updates and needs far fewer scheduled runs.

* ci: remove the cooldown for scheduled release rebuilds

The check runs once a day, which already limits how often the floating tags
move. A rebuild loop is prevented by the recorded attempts, so the age of the
published image no longer needs to be checked.

---------

Co-authored-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
2026-11-06 00:29:10 +01:00
29203aeafc feat(ci): rebuild the latest release weekly with current Debian security updates (#4833)
* feat(ci): rebuild latest release weekly and move its floating tags

Rebuilds the latest release tag without cached layers so the existing
`apt-get upgrade` in packages.sh picks up new Debian security fixes,
tests it, then republishes X, X.Y, X.Y.Z plus an immutable X.Y.Z-rN tag.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* fix(ci): only the newest release may move the latest tag

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* docs: describe weekly release rebuilds and tags

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* docs(ci): explain how the release tag is resolved

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* docs(changelog): trim rebuild entry to user-facing change

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* fix(ci): address review feedback on release rebuilds

Rebuild only the latest release (drop the release-tag dispatch input) so
older releases cannot move floating tags, which also lets latest use the
default flavor again. Fail on registry errors other than not-found when
probing for rebuild numbers, serialize rebuilds, take the revision label
from the checked-out tag, and use a dedicated cache scope for rebuilds.

* feat(ci): rebuild every supported major, not only the latest release

The supported majors are listed in the workflow (those whose Debian base
still gets security updates). Each line runs its own build, test and
publish chain so a failing line cannot block another. Only the newest
release overall may move latest.

* ci: only rebuild v16 for now

v15 cannot pass its own tests anymore (bitnami/openldap:latest is gone).

* fix(ci): skip a rebuild publish when a newer release appeared

Re-check the newest release right before publishing, and decide latest
from that check. Also list the -r0 tag of tag pushes in the docs.

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
2026-11-02 23:56:34 +01:00
Junker der ProvinzandAndrew Cornford 4594bdf961 feat(fail2ban): add setup fail2ban ignore and consider (#4828)
* feat(fail2ban): add `setup fail2ban ignore` and `consider`

Adding an address to the Fail2Ban ignore list at runtime needed
fail2ban-client and a loop over every jail. This carries over #4504
and addresses its review.

Co-authored-by: Andrew Cornford <29998536+groupmsl@users.noreply.github.com>

* fix(fail2ban): reject invalid addresses and list ignores under `status`

fail2ban-client treats anything that is not an IP address as a hostname, so a typo like 192.0.2.300 was accepted silently. `ignore` and `consider` now check the argument and pass it on in the spelling F2B uses, which `delignoreip` needs to find a single IPv6 address again.

Plain `setup fail2ban` shows bans only again, as before this PR.

---------

Co-authored-by: Andrew Cornford <29998536+groupmsl@users.noreply.github.com>
2026-10-31 15:02:42 +01:00
mainboarder 11bb44baf1 docs: changed example ips to rfc-5737 TEST-NET-1 (#4823)
* docs: changed example ips to rfc-5737 TEST-NET-1

* docs: changed ip 10.11.12.13 to 192.0.2.3
2026-10-17 19:39:12 +00:00
Brennan KinneyandGeorg Lauterbach 45ae8a4c32 breaking: Generate Postfix LDAP configs from layered sources (#3524)
Postfix LDAP configs are now generated at startup to `/etc/postfix/ldap/<KIND>.cf`
(`users`, `groups`, `aliases`, `domains`, `senders`) from these sources, later ones take precedence:

1. Defaults (`version = 3`, `result_attribute = mail`, `senders`: `mail, uid`).
2. `LDAP_<SETTING>` ENV for all configs.
3. The custom config `ldap-<KIND>.cf` from the DMS config volume (now also supported for `senders`).
4. `POSTFIX_<KIND>_<SETTING>` ENV for a single config.

A config without `query_filter` is not generated and its lookup table is not configured
(including `smtpd_sender_login_maps` with `SPOOF_PROTECTION=1`). Previously all lookup
tables were always configured, as the default configs shipped by the image always existed.

Breaking:
- `LDAP_QUERY_FILTER_{USER,GROUP,ALIAS,DOMAIN,SENDERS}` are renamed to
  `POSTFIX_{USERS,GROUPS,ALIASES,DOMAINS,SENDERS}_QUERY_FILTER` (an error is logged when the old ENV is set).
- `/etc/postfix/ldap-*.cf` moved to `/etc/postfix/ldap/*.cf`, the default configs (with default query filters) were removed.

Reworked from the original "Config Templates" proposal: Dovecot (already reworked for Dovecot 2.4)
and SASLAuthd are unchanged, and no template files or additional dependencies (`zenv`, `envsubst`) are required.

Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
Co-authored-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
2026-10-17 18:49:36 +02:00
893454258b feat: add IMAP IDLE support for getmail (#4675)
Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
Co-authored-by: Brainkiller <brainkiller@boven.xyz>
Co-authored-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
2026-10-04 22:40:14 +02:00
Josh Purvis d35bdc816b docs: add DomainCanary's SPF, DKIM and DMARC checker to the testing tools (#4814) 2026-10-04 22:19:19 +02:00
Georg Lauterbach c8a7dd08ad fix(rspamd): only migrate Redis if the version can be migrated
Valkey does not understand RDB version 12, hence we cannot always easily
migrate.

Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
2026-09-28 10:21:56 +02:00
Georg Lauterbach 46206aeb89 feat: replace Redis with Valkey (#4808) 2026-09-25 21:56:46 +02:00
Georg Lauterbach 198ccc8f8a feat: re-enable Dovecot's stats-writer (#4807)
Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
2026-09-25 17:12:02 +02:00
Serhii Tanichev f0f605331f docs: add Email Spam Tester to the testing tools (#4805) 2026-09-22 13:23:24 +02:00
Brennan KinneyandGeorg Lauterbach 2d01b01ab8 docs: Revise bind-smtp-network-interface.md (#4345)
* docs: Revise `bind-smtp-network-interface.md`

* chore: apply MR feedback

Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>

---------

Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
Co-authored-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
2026-09-07 11:48:00 +02:00
a721528e3d docs: How to enable compression in Dovecot (#4578)
* docs: add Dovecot 2.4 mailbox compression guide

Document the supported global mail-compress configuration, verification steps, and troubleshooting guidance for DMS 16 and later.

Co-authored-by: Eric <dev@derewonko.com>
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>

* docs: remove trailing whitespace from compression guide

---------

Co-authored-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2026-09-07 10:57:24 +02:00
Georg Lauterbach 1fb93044c2 feat: remove Xapian (#4786) 2026-09-05 18:55:50 +02:00
Lasslos e1255ff518 Fix broken image path (#4788) 2026-09-05 11:31:12 +02:00
beertje44andGeorg Lauterbach 34bd3a1377 docs: update Solr image and clean up FTS configuration (#4787)
* Update Solr image and clean up FTS configuration

Updated Solr image version,  fixed SOLR_MODULES format and explictly start solr in user-managed mode. Removed commented-out FTS decoder configuration: it is not advised and incorrect for the debian provided dovecot packages. Tika is a better alternative and easy to implement but this is a dovecot fts feature and not fts solr specific so that doesn't belong in the solr tutorial.

* Fix Dovecot FTS solr configuration

Pinned FTS solr config to solr:10.0, started solr in user managed mode, and removed the attachment text extraction example.

---------

Co-authored-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
2026-09-04 15:54:51 +02:00
Georg Lauterbach b2a6f1b914 chore: update Rspamd DKIM default config to improve multi-domain setups (#4653)
This reverts commit 4ff20e7571 which reverted
dd3e49e for the v16.0.1 release, i.e. the new Rspamd is now in the image again.
2026-09-04 14:36:39 +02:00
Georg Lauterbach 4ff20e7571 Revert "chore: update Rspamd DKIM default config to improve multi-domain setups (#4653)"
This reverts commit dd3e49e0a0.

For 16.0.1, breaking changes are not allowed
2026-09-04 14:25:16 +02:00
Georg Lauterbach c8ca3dd4cb docs: revise FTS documentation (#4783)
Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
2026-09-04 14:09:12 +02:00
beertje44 9aa9366bcb feat: add dovecot-solr (again) (#4782)
Restored default inclusion of dovecot-solr and updated related tutorial. Adjusted Dovecot LDAP configurations and improved permission repair process.
2026-09-04 11:40:11 +02:00
beertje44 761a109d18 docs: revise Dovecot Solr tutorial for Solr 10 and dovecot 2.4 compatibility (#4773) 2026-09-01 00:34:47 +02:00
Georg Lauterbach a3276b0fdf fix: update Dovecot LDAP configuration (#4770)
Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
2026-08-31 12:07:40 +02:00
GoodSam911andGeorg Lauterbach 56b0a6c64d docs: add uChecker to the DNS check tools list (#4762)
* docs: add uChecker to the DNS check tools list

* docs: fix uChecker DKIM checker URL

---------

Co-authored-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
2026-08-30 17:56:10 +02:00
Luke CycaandGeorg Lauterbach dd3e49e0a0 chore: update Rspamd DKIM default config to improve multi-domain setups (#4653)
Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
Co-authored-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
2026-08-30 17:55:34 +02:00
thesyntaxslinger 1dd02a640c fix: Documentation for mail-crypt dovecot 2.4 (#4764) 2026-08-30 17:34:40 +02:00
Georg Lauterbach ad0e23f2c0 release: v16.0.0 (#4761)
Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
2026-08-30 11:39:56 +02:00
Chris Funderburg c0e920f2b6 docs: add Dovecot Flatcurve tutorial (#4756) 2026-08-29 16:45:24 +02:00
Georg Lauterbach 0dfef4f598 chore: update MkDocs from 9.6 to 9.7 (#4757)
Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
2026-08-28 13:40:56 +02:00
Georg LauterbachandBrennan Kinney c41d2de2be remove: Diffie-Hellman parameters for Postfix & Dovecot (#4562)
Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2026-08-28 10:30:31 +02:00
Georg LauterbachandBrennan Kinney c9b015ddc8 chore: update base image from Debian 12 to Debian 13 (#4536)
Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2026-08-19 22:32:02 +02:00
Dennis Brakhane 814d1baffa docs: fix description of postfix-master.cf (#4727) 2026-07-03 17:41:56 +00:00
Fawaz Ahmed e532b37a68 docs: DKIM - Include command to restart DMS properly (#4698) 2026-04-23 12:18:58 +12:00
Georg Lauterbach b81e2b526f fix: remove expand_keys = true from Rspamd configuration (#4689) 2026-03-28 20:22:51 +01:00
NailikandBrennan Kinney a03676110f docs: getmail - Update getmail xoauth example links (#4673)
Commit referenced upstream for xoauth examples had become outdated. New links now pin by release tag instead of commit for clarity.

---------

Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2026-03-04 11:54:58 +13:00
Georg LauterbachandBrennan Kinney 0cf3ead816 docs(rspamd): Revise DNSBL advice with example + minor tweaks (#4661)
* docs: add new capability required with modern K8s

I had recently updated my K8s cluster and was seeing weird issues with
DMS. I traced it down to a missing `MAC_OVERRIDE` capability. TBH I do
not fully understand _why_ this capability is required, but it wasn't
working for me in K8s 1.35.0 without it.

Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>

* docs: update Rspamd DNSBL docs

Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>

* docs: remove a non-existent link

Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>

* docs(rspamd): Add Docker Compose recursive resolver example

---------

Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2026-02-17 10:51:02 +13:00
Brennan Kinney ff5b6ee1e3 docs: Revise watchtower page and adapt to community fork (#4641)
* docs: Revise `watchtower` page and adapt to community fork

* docs: Use the GHCR registry for `watchtower`

* chore: Update `CHANGELOG.md`
2026-01-18 15:09:33 +01:00
Ayman Bagabas c0f27df568 docs: Rspamd ARC section align private key filename with setup config dkim (#4616) 2025-12-12 20:40:26 +13:00
Brennan Kinney 369f357351 docs: Proxy Protocol share postscreen_cache_map (#4571) 2025-09-21 14:19:42 +02:00
Georg Lauterbach da61eb21a3 chore: Remove Pyzor + Razor packages (#4548) 2025-08-17 11:00:01 +02:00
Jam BalayaandGeorg Lauterbach c1a5eabc94 chore: fix various typos across codebase (#4552)
Co-authored-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
2025-08-12 21:55:53 +00:00
Dan MarksandBrennan Kinney 69e2b56def docs: Add warning about broken apple push notifications support (#4541)
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2025-08-05 11:30:13 +02:00
Georg Lauterbach e448b5e53e chore: disable F2B postfix-sasl jail (#4535)
Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
2025-08-03 10:37:41 +02:00
b6e5d34cd4 docs: Podman - Document how to setup DMS with Quadlet (#4183)
Merged in it's current state due to time constraints to revise to desired state when the revised docs would still be beneficial to users. Final revision deferred to a follow-up PR.

---------

Co-authored-by: Casper <casperklein@users.noreply.github.com>
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
Co-authored-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
2025-08-01 12:24:55 +12:00
fim-shandBrennan Kinney 7a0b499c18 docs: Fix path in dkim helper script (rspamd) (#4531)
The path was still referring to an internal location used prior to preferring the DMS config volume, this has been corrected.

---------

Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2025-08-01 12:06:40 +12:00
Mahdi Baghbani e4c319b39c docs: fix minor typo (#4532) 2025-07-27 12:10:40 +00:00
Éric VeirasandCasper 6bc4d243e2 docs: fix minor typo (#4513)
Co-authored-by: Casper <casperklein@users.noreply.github.com>
2025-06-23 20:18:15 +02:00
Brennan Kinney eb87c88339 docs: Adjust PROXY Protocol port names (#4511) 2025-06-20 06:42:12 +02:00
s0ftcornandBrennan Kinney e296eb4f26 docs: Revise docs for the OVERRIDE_HOSTNAME ENV (#4492)
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2025-06-02 19:22:04 +12:00
Ionut 61c9b21f94 docs: PROXY protocol (Traefik) - Fix config typo (#4483) 2025-05-23 10:49:50 +12:00