Commit Graph

2779 Commits

Author SHA1 Message Date
Casper 96bffd7979
chore(compile.sh): Consistent apt-get install command 2024-12-06 21:22:37 +01:00
Brennan Kinney cd225f1250
ci(`bug_report.yml`): Drop the feedback field (#4283)
This input has not provided much value to us since it's introduction, removing as redundant.
2024-12-07 02:04:13 +13:00
Brennan Kinney 9f0918c335
fix(`packages.sh`): `swaks --help` (#4282)
This command requires the `perl-doc` package to work.
2024-12-07 02:02:35 +13:00
dependabot[bot] 10882f97f2
chore(deps): Bump docker/build-push-action from 6.9.0 to 6.10.0 (#4278) 2024-12-02 21:51:52 +01:00
Brennan Kinney d07e6d67d6
chore: Update `jaq` to `2.0.0` (#4277)
- Bump to [`jaq` v2 release](https://github.com/01mf02/jaq/releases/tag/v2.0.0), artifact naming convention changed.
- Tidied up the changelog a little bit unrelated to this `jaq` update.
- Fixed a typo with an `rspamd.sh` comment + minor revision to the comment.
2024-11-29 16:12:00 +13:00
dependabot[bot] edfecbceb1
chore(deps): Bump anchore/scan-action from 5.2.1 to 5.3.0 (#4274)
Bumps [anchore/scan-action](https://github.com/anchore/scan-action) from 5.2.1 to 5.3.0.
- [Release notes](https://github.com/anchore/scan-action/releases)
- [Changelog](https://github.com/anchore/scan-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/anchore/scan-action/compare/v5.2.1...v5.3.0)

---
updated-dependencies:
- dependency-name: anchore/scan-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2024-11-26 09:11:35 +13:00
dependabot[bot] ab087d28b3
chore(deps): Bump docker/metadata-action from 5.5.1 to 5.6.1 (#4273)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 5.5.1 to 5.6.1.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/v5.5.1...v5.6.1)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-26 09:08:10 +13:00
Brennan Kinney c15354058f
fix: SASLAuth - Drop services for `mysql`, `shadow`, `pam` auth mechanisms (#4259) 2024-11-20 17:19:58 +13:00
Brennan Kinney 02f1894f74
ci(docs-preview): Acquire PR context via `gh` CLI (#4267) 2024-11-20 16:37:34 +13:00
Brennan Kinney 6b4627ceab
ci(docs-preview): Refactor workflows (#4262)
**Overview of changes:**
- Runner bumped from Ubuntu 22.04 => 24.04
- Revised inline documentation for maintainers.
- The output of `build-docs.sh` is now grouped in the steps action log, and now hides the noise from pulling the image via `docker run`.
- Removed the separate `tar` steps with ZSTD as there is only a directory to archive with recent changes to this workflow. The `upload` + `download` actions are sufficient.
- The `workflow_run` job has had the PR context restore step extracted to a separate job to minimize noise.
- `actions-netlify` is still effectively the same functionality.
  - `github-token` is no longer configured as it doesn't appear needed with the functions disabled.
  - Opt-out of the GH deployments feature which is not needed.
2024-11-15 13:00:40 +13:00
dependabot[bot] b960efad74
chore(deps): Bump anchore/scan-action from 5.2.0 to 5.2.1 (#4260)
Bumps [anchore/scan-action](https://github.com/anchore/scan-action) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/anchore/scan-action/releases)
- [Changelog](https://github.com/anchore/scan-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/anchore/scan-action/compare/v5.2.0...v5.2.1)

---
updated-dependencies:
- dependency-name: anchore/scan-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-12 08:49:29 +13:00
Brennan Kinney a599936c4b
ci: `docs-preview-deploy.yml` - Remove third job condition
This condition was added as an additional guard but was preventing  the workflow from running  when PRs were from forked repos.
2024-11-10 18:57:31 +13:00
Alvaro Muñoz 0ff9c0132a
ci: Revise `docs-preview-deploy.yml` (#4247)
- Fixes the `if` condition that was recently adjusted.
- Better documents concerns for maintainers to be aware of.
- Reference the `pull_requests` ENV at runtime instead of embedding content into the script via GHA context expression. This is a better practice which prevent exploits from untrusted inputs (_notably for context objects which might introduce new fields in future_).

---------

Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2024-11-05 12:50:08 +13:00
dependabot[bot] dc0a6403b2
chore(deps): Bump anchore/scan-action from 5.1.0 to 5.2.0 (#4249)
Bumps [anchore/scan-action](https://github.com/anchore/scan-action) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/anchore/scan-action/releases)
- [Changelog](https://github.com/anchore/scan-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/anchore/scan-action/compare/v5.1.0...v5.2.0)

---
updated-dependencies:
- dependency-name: anchore/scan-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-05 09:21:53 +13:00
Brennan Kinney e6bd0b0a09
ci(pr-docs): Acquire metadata from context (#4244)
The metadata needed is available via context, prefer this approach instead.
2024-11-01 14:11:33 +13:00
Georg Lauterbach 662afec1d1
doc: add an example for using the keytype ed25519 when using DKIM & Rspamd (#4243) 2024-10-30 13:32:17 +13:00
dependabot[bot] ff8fc8013b
chore(deps): Bump anchore/scan-action from 4.1.2 to 5.1.0 (#4239) 2024-10-28 19:23:45 +01:00
pitilux 34eb54ac39
fix: Avoid alias being used as regex during dovecot dummy account userdb detection (#4222)
Applies alternative approach previously suggested by @polarathene and adds test cases to prevent future regressions
2024-10-12 11:34:20 +13:00
dependabot[bot] 26a44995a9
chore(deps): Bump docker/setup-buildx-action from 3.6.1 to 3.7.1 (#4216)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3.6.1 to 3.7.1.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v3.6.1...v3.7.1)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-08 09:01:58 +13:00
dependabot[bot] c29fe3ff0b
chore(deps): Bump docker/build-push-action from 6.7.0 to 6.9.0 (#4205)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.7.0 to 6.9.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v6.7.0...v6.9.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 08:54:57 +13:00
Georg Lauterbach 2bcc5cf9de
Rspamd documentation: update Abusix signup link (#4204) 2024-09-29 12:53:10 +02:00
Georg Lauterbach 3937e1e719
scripts: improve DKIM path scanning in Rspamd setup (#4201) 2024-09-29 12:18:43 +02:00
Georg Lauterbach 1a938dfb15
Rspamd: update GTube patters in tests (#4191) 2024-09-28 11:27:34 +00:00
Georg Lauterbach 3bf32a6552
add dedicated feature requests to new project automatically (#4198) 2024-09-28 10:52:49 +00:00
Brennan Kinney 025a38d736
chore: Add maintenance note for LMTP (#4199) 2024-09-26 20:01:35 +12:00
Georg Lauterbach 94751e00c9
dependency: update `jaq` from `1.3.0` to `1.6.0` (#4190) 2024-09-21 21:04:06 +02:00
GallowsDove 84180f879e
fix: fix incorrect link in README.md (#4184) 2024-09-18 19:34:42 +02:00
Brennan Kinney cace9c56d9
fix: Dovecot LDAP config should exist (#4175)
The config was not copied over during image build, and the associated auth config had a typo for the `mechanisms` key.
2024-09-09 19:00:53 +12:00
Brennan Kinney 4e85f799fc
fix: Dovecot LDAP config should exist 2024-09-09 09:58:12 +12:00
dependabot[bot] 3349bba1ff
chore(deps): Bump anchore/scan-action from 4.1.1 to 4.1.2 (#4166)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 18:30:22 +02:00
Vetu a87d49e8f8
fix: typo in volume pathname (#4165) 2024-08-24 20:42:32 +02:00
dependabot[bot] cb963a9a8b
chore(deps): Bump docker/build-push-action from 6.6.1 to 6.7.0 (#4163) 2024-08-19 21:44:33 +02:00
dependabot[bot] 9589d2192b
chore(deps): Bump anchore/scan-action from 4.1.0 to 4.1.1 (#4162) 2024-08-19 20:27:27 +02:00
Casper ab2127ba67
chore: Add comments to `start-mailserver.sh` and stop using `inherit_errexit` (#4161) 2024-08-19 00:51:44 +02:00
Brennan Kinney 310786453b
chore(Dockerfile): COPY ClamAV database from debian images (#4160)
Changes ClamAV image source from DockerHub clamav/clamav (Alpine) to clamav/clamav-debian. Only the Debian variant offers multi-platform images.

This isn't too important since we are only interested in taking a copy of the database from the image. It should however resolve a CI warning.
2024-08-17 22:55:31 +12:00
Casper b2978fd760
breaking: Refactor `getmail` support (#4156)
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
Co-authored-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
2024-08-17 12:14:59 +02:00
dependabot[bot] fb57905aa3
chore(deps): Bump docker/build-push-action from 6.5.0 to 6.6.1 (#4158)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 13:26:05 +02:00
dependabot[bot] d61909bdea
chore(deps): Bump docker/setup-buildx-action from 3.5.0 to 3.6.1 (#4152)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3.5.0 to 3.6.1.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v3.5.0...v3.6.1)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-06 19:15:35 +12:00
Brennan Kinney 526fd64d11
fix: Ensure main log file is tailed from the start (#4146)
Co-authored-by: Casper <casperklein@users.noreply.github.com>
2024-08-03 12:04:21 +12:00
Brennan Kinney 2f8ad142ec
fix: Prevent `stderr` being written to `/etc/postfix/main.cf` (#4147)
`stderr` is filtered by `grep` to discard unwanted (expected) log noise when appending the override `postfix-main.cf` content (_updated settings did not replace earlier defined instances_).

That `grep` filter introduced a regression into DMS v14 release, since any other `stderr` content not being excluded was now blended into `stdout` and redirected with the original `stdout` output for the `postconf -n` command.

The fix is to ensure the `grep` output is redirect to `stderr` to avoid that mishap.
2024-08-02 09:42:39 +12:00
Brennan Kinney a338c06639
docs: Add caveat for ENV `DMS_VMAIL_UID` value compatibility (#4143) 2024-08-01 08:57:36 +12:00
Casper 37e5203a69
ci: Remove CONTRIBUTORS.md (#4141) 2024-07-31 09:04:51 +02:00
Casper 01194b7552
docs: Add minimal `compose.yaml` examples that demonstrate specific features (#4138)
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2024-07-30 18:57:33 +02:00
github-actions[bot] c544d770e7
docs: updated `CONTRIBUTORS.md` (#4139) 2024-07-30 18:34:17 +02:00
dependabot[bot] 32c0a346fc
chore(deps): Bump anchore/scan-action from 4.0.0 to 4.1.0 (#4125)
Bumps [anchore/scan-action](https://github.com/anchore/scan-action) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/anchore/scan-action/releases)
- [Changelog](https://github.com/anchore/scan-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/anchore/scan-action/compare/v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: anchore/scan-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-23 09:12:47 +12:00
dependabot[bot] 093e43480c
chore(deps): Bump docker/build-push-action from 6.4.0 to 6.5.0 (#4126)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.4.0 to 6.5.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v6.4.0...v6.5.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-23 08:46:13 +12:00
dependabot[bot] 720a4a2534
chore(deps): Bump docker/setup-qemu-action from 3.1.0 to 3.2.0 (#4127) 2024-07-22 16:53:57 +02:00
dependabot[bot] 2edd6936c4
chore(deps): Bump docker/setup-buildx-action from 3.4.0 to 3.5.0 (#4128) 2024-07-22 16:48:59 +02:00
Moritz Poldrack 009237cc26
chore: Prevent Microsoft MUAs from sending reactions (#4120)
---------

Signed-off-by: Moritz Poldrack <~git@mp.gy>
2024-07-22 23:43:11 +12:00
Brennan Kinney 0698ad9370
docs: Refactor pages for Account Management (#4122)
* docs: Relocate account / auth pages into a common section

* docs: Update references to relocated pages

* docs: Add account management overview page

Updates remaining links to account sections on this page instead (_for `accounts`, `aliases`, `quotas`_).

This page will cover the features and defer to separate pages for more specific content where relevant.

* docs: Correct relocated pages titles and links

* docs: Accounts (Dovecot Master) - Minor revisions

* docs: Fix highlighting roundcube PHP snippet in OAuth2 page

* docs: Accounts (File) - Refactor

- Manual method not necessary to document.
- Condense `setup` example guidance.
- Quotas / Aliases content migrated to Overview when not specific about file provisioner.

Some of the content is this commit is not a complete revision.

* chore: Temporary commit

* docs(refactor): Sub-addressing section

Much better docs on the sub-addressing feature supported by Postfix and Dovecot, along with the guidance with usage in Sieve.

* docs:  Revise accounts section

Add some context regarding DMS accounts and their distinction/overlap from the email address functionality, and it's relevant context for receiving/sending.

File provisioner, minor revisions to referencing associated config files and account management.

* docs: Minor adjustments

* docs: Refactor the quota section

Better documented with links and coverage over the workaround details we've implemented.

* docs: Revise the quota section

Minor revisions with phrasing, admonitions for structure and better explanation of the feature functionality/purpose.

* docs: Alias section refactor

Extensively covers known issues and technical details that have been discussed often enough.

The improvements should benefit both users and maintainers.

* docs: Refactor master accounts page

This rewrite should more clearly document the feature, along with a better example and additional links for reference.

* docs: OAuth2 revision

Minor update to this page:
- Links extracted to bottom of page as per convention.
- ENV file example converted to preferred `compose.yaml` ENV settings.

* docs: Sieve minor revisions

- Correct link to subaddressing section
- Make the config file example snippets intended filename less ambiguous.
- Minor rephrasng.

* docs: Revise accounts overview section

Revised the account section and added additional clarity for common confusion with relation to sender address and multi-domain support.

Top of the page now clarifies it's a technical reference and directs users to the related pages for configuration / caveats.

Technical Overview links to Dovecot docs were missing.

* docs: Another revision pass

File based provisioner docs:
- Sections indent with info admonitions.
- Accounts section expanded with config format and example.
- Quotas section expanded and shifted to bottom (alphabetical sort).
- Split into `setup` CLI and config reference groups.

Overview page:
- Sections indent with info admonitions.
- Revised content.

* docs(chore): Shift sub-addressing section

This is related to accounts and aliases, but not provisioners, thus extract out of the accounts parent section.

* docs: Document `postfix-accounts.cf` third column

This lacked documentation but was community contributed feature to allow further customization of a Dovecot Account.

It has caveats as DMS does not take these into consideration anywhere in scripts. Documenting officially for better awareness.

* docs: Revise and expand supplementary pages

Better outline the OAuth2 login process, the two supported login mechanisms and their docs/rfcs, along with documenting caveat with mail client compatibility.

Add a verification tip for the OAuth2 support, showing how `curl` can be used, along with caveat presently affecting the `curl` in DMS v14.

Additionally note the feature still isn't documented fully, providing the user with additional references for more information.

`ACCOUNT_PROVISIONER` ENV docs minimized. No `OIDC` provisioner plans, the OAuth2 docs page now mentions SCIM 2.0 API as the next step towards resolving that concern. The tip admonition was removed as it no longer provides value, instead we link to the Account Management overview page.

Dovecot Master Accounts docs page now lightly document the `setup` CLI and config format for the feature.

* docs: Fix broken anchor links

Some anchor links to different parts of our docs have gone stale. This branch also broke a few itself that I missed.

The build now only reports issues with anchor links to Content Tabs, which it must not be aware of during the build (_MKDocs Material specific feature?_)

* docs(lint): Fix indentation level

* chore: Add entry to `CHANGELOG.md` + corrections
2024-07-22 10:00:53 +12:00