Commit Graph

2767 Commits

Author SHA1 Message Date
casperklein 74b127c26f fix typo 2024-08-14 22:54:54 +02:00
casperklein 3b7f104601 log errors to syslog 2024-08-14 22:28:23 +02:00
casperklein f58c0e8b11 remove error checking from _the setup_getmail function; getmail-service.sh will handle that instead. 2024-08-14 22:26:47 +02:00
Casper fb2205efc4
Update CHANGELOG.md
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2024-08-13 19:43:41 +02:00
Casper 7c29ff7387
Update target/scripts/startup/setup.d/getmail.sh
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2024-08-13 19:24:47 +02:00
Casper a0e39973a9
Update docs/content/config/advanced/mail-getmail.md
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2024-08-13 18:55:22 +02:00
Casper c068b31159
Update docs/content/config/advanced/mail-getmail.md
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2024-08-13 18:53:52 +02:00
Casper f57e5f68f5
Update CHANGELOG.md
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2024-08-13 18:40:37 +02:00
Casper 12ff8b394d
Update CHANGELOG.md
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2024-08-13 18:39:26 +02:00
Casper 389b41f822
Update CHANGELOG.md
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2024-08-13 18:38:43 +02:00
Casper ed4bed84dd
Update CHANGELOG.md
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2024-08-13 18:38:32 +02:00
Casper afb9e39b61
Update CHANGELOG.md
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2024-08-13 18:38:13 +02:00
Casper c5763c3465
Update CHANGELOG.md
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2024-08-13 18:37:58 +02:00
Casper 84a2d7b32a
Update CHANGELOG.md
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2024-08-13 18:37:45 +02:00
casperklein c3384185a9 add rc file name to output 2024-08-13 02:54:04 +02:00
casperklein 6d8744b9c4 make migration to new locations more clear. using host directories as example, which makes more sense compared to the container directories. 2024-08-10 12:41:09 +02:00
casperklein 0c9d74eeb2 better naming 2024-08-10 12:40:15 +02:00
casperklein 739fbc7693 add migration info 2024-08-09 22:45:52 +02:00
casperklein 04bc1a03e1 Add changelog 2024-08-09 22:41:11 +02:00
casperklein e62abce1b5 add example configs 2024-08-09 22:31:20 +02:00
casperklein 3e5e78730e adjust tests 2024-08-09 22:30:57 +02:00
casperklein 6e9406037d update debug-getmail 2024-08-09 22:30:30 +02:00
casperklein 8285bde12c Update documentation 2024-08-09 22:13:13 +02:00
casperklein f2c49f53d9 Make getmail a supervisord service; remove getmail cron job 2024-08-09 22:10:58 +02:00
casperklein 701962415d Getmail revision
* Verify GETMAIL_POLL
* Switch state-dir from /tmp/docker-mailserver/getmail to /var/lib/getmail
* Add support for custom getmailrc_general.cf file
* remove getmail 'message_log'  option in favor of 'message_log_syslog'
* Change config directory structure:

├── docker-data/dms/config
│   ├── getmail-example.cf

to

├── docker-data/dms/config
│   ├── getmail
│   │   ├── getmailrc_general.cf
│   │   ├── imap-example.cf
│   │   ├── pop3-example.cf
2024-08-09 21:56:53 +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
Brennan Kinney c5f125c973
tests: Update `curl` note for XOAUTH2 support (#4118) 2024-07-18 10:31:50 +12:00
dependabot[bot] 34423c2f66
chore(deps): Bump docker/build-push-action from 6.3.0 to 6.4.0 (#4113)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v6.3.0...v6.4.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-16 01:44:17 +00:00
dependabot[bot] bf4ebc2a41
chore(deps): Bump anchore/scan-action from 3.6.4 to 4.0.0 (#4114)
Bumps [anchore/scan-action](https://github.com/anchore/scan-action) from 3.6.4 to 4.0.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/v3.6.4...v4.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-16 13:42:20 +12:00
Brennan Kinney 755540cacf
docs: `docker-build.md` - Update `DOVECOT_COMMUNITY_REPO` default (#4111) 2024-07-14 11:24:33 +02:00
Brennan Kinney 4778f15fda
docs: TLS typo fix (#4106)
- Caddy admonition - Missing `[` for annotating a link.
- Traefik - `docker-compose` => "Docker Compose"
2024-07-09 19:44:09 +02:00
dependabot[bot] 3a40c457fc
chore(deps): Bump docker/setup-qemu-action from 3.0.0 to 3.1.0 (#4105)
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v3.0.0...v3.1.0)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-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-08 23:26:20 +00:00
dependabot[bot] 2cca907615
chore(deps): Bump docker/setup-buildx-action from 3.3.0 to 3.4.0 (#4104)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v3.3.0...v3.4.0)

---
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-07-08 23:24:48 +00:00
dependabot[bot] 19d52d9dcc
chore(deps): Bump docker/build-push-action from 6.2.0 to 6.3.0 (#4103)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.2.0 to 6.3.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v6.2.0...v6.3.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-09 11:23:02 +12:00
Brennan Kinney 2d12bbb7fd
docs: Update `compose.yaml` for `dovecot-solr` guide (#4099)
The `image` field is used for the default tag, if it's not specified Compose will infer one in addition to any extra `tags` provided.

Better to use `image` for the tag assignment, and a clear `pull_policy` to prevent trying to pull a remote image of the same name.
2024-07-05 23:48:42 +12:00
Brennan Kinney 9175424d0f
fix: Update `dovecot-fts-xapian` to `1.7.13` (#4095)
* fix: Update `dovecot-fts-xapian` to `1.7.13`

Contains a fix to a regression introduced that broke indexing

---------

Co-authored-by: casperklein <casperklein@users.noreply.github.com>
2024-07-03 22:16:02 +12:00
dependabot[bot] b3a5e9e4e8
chore(deps): Bump docker/build-push-action from 6.1.0 to 6.2.0 (#4089)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.1.0 to 6.2.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v6.1.0...v6.2.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-03 12:17:19 +12:00
Georg Lauterbach 22383c28e7
CI: Remove reviewer assignment from Dependabot config (#4088) 2024-06-30 11:34:38 +02:00