Casper
37c8e44566
Restart supervisord early ( #2494 )
2022-03-21 13:42:12 +01:00
Georg Lauterbach
24031ae365
scripts: new log ( #2493 )
...
* added new `_log` function
With `_log`, the `_notify` method wa rendered obsolete. `_notify` was
not completely removed due to test failures in `check-for-changes.sh`.
The new `_log` function properly uses log levels such as `trace`,
`debug`, `info`, `warn` and `error`. It provides a cleaner solution
and renders `DMS_DEBUG` obsolete too (as only `_notify` depends on it).
* converted all helper script to new `_log` function
* converted all startup stacks to new `log` function
* `start-mailserver.sh` now uses new `_log` function
* final test and misc small script adjustments
* updated documentation
2022-03-21 07:07:52 +01:00
Casper
d8d4b6a189
Improve test, get rid of sleep ( #2492 )
2022-03-20 13:26:23 +01:00
Casper
1bfc6d944a
Use FQDN as REPORT_SENDER default value. ( #2487 )
2022-03-18 19:41:02 +01:00
Nathan Pierce
1f174ce211
Merge pull request #2468 from docker-mailserver/issues/2467
2022-03-18 13:07:46 -04:00
Nathan Pierce
a435c32661
Merge branch 'master' into issues/2467
2022-03-17 09:24:55 -04:00
Georg Lauterbach
321ae744fa
scripts: small refactorings ( #2485 )
...
Co-authored-by: Casper <casperklein@users.noreply.github.com>
2022-03-17 11:24:30 +01:00
Nathan Pierce
6dd8d48a04
Merge branch 'master' into issues/2467
2022-03-15 10:18:52 -04:00
Casper
b730942b96
Makefile: Remove backup/restore of obsolete config directory ( #2479 )
2022-03-15 13:47:13 +01:00
Casper
5b5b444094
docs(fail2ban): Use the correct example config location ( #2484 )
2022-03-15 14:51:47 +13:00
Nathan Pierce
67533d7029
Merge pull request #2466 from docker-mailserver/revert-macos-logic
...
Remove macOS specific code / support + shellcheck should avoid python, regardless of permissions
2022-03-09 07:11:15 -05:00
Casper
45068ff2a5
Merge branch 'master' into revert-macos-logic
2022-03-09 10:39:15 +01:00
NorseGaud
66cf4f3a54
${@:+$@} -> ${@}
2022-03-08 18:32:15 -05:00
dependabot[bot]
542c1f4e8d
chore(deps): bump docker/login-action from 1.14.0 to 1.14.1 ( #2471 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 1.14.0 to 1.14.1.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v1.14.0...v1.14.1 )
---
updated-dependencies:
- dependency-name: docker/login-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>
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2022-03-09 11:59:00 +13:00
dependabot[bot]
bf7fba68bd
chore(deps): bump actions/checkout from 2 to 3 ( #2470 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
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>
Co-authored-by: Frederic Werner <20406381+wernerfred@users.noreply.github.com>
2022-03-09 11:57:01 +13:00
Casper
a2f22422ca
docs: Enhance logrotate description ( #2469 )
2022-03-07 23:00:32 +01:00
NorseGaud
1ab8ea96b2
acme_extract -> acme_extract.py + F_BIN to avoid .py
2022-03-06 22:17:29 -05:00
NorseGaud
f14945c52d
issues/2023: postfix is not able to install due to incorrect hostname in container
2022-03-06 19:57:31 -05:00
NorseGaud
3be5879fcf
prevent piling up build intermediate containers
2022-03-06 13:37:34 -05:00
NorseGaud
c56db1380e
only shellcheck shell scripts
2022-03-06 13:37:07 -05:00
NorseGaud
54e41d04f7
removed Darwin specific code and modified the docs to indicate macOS is not supported
2022-03-06 11:59:53 -05:00
Georg Lauterbach
d101d0aa0a
fix: remove SA reload for KAM ( #2456 )
...
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2022-03-04 23:38:29 +01:00
Casper
b9fdb1e7b5
Introduce CLAMAV_MESSAGE_SIZE_LIMIT env ( #2453 )
2022-03-03 16:17:01 +01:00
Casper
1911f9a4b4
setup.sh: Remove obsolete 'debug inspect' command from usage text ( #2454 )
2022-03-03 11:38:28 +00:00
sportshead
fd4bebaf54
[docs] faq.md: update naked/bare domain section ( #2446 )
2022-03-03 08:24:02 +01:00
Casper
a8a8c859dc
Rename config examples directory ( #2438 )
2022-03-02 22:54:14 +00:00
Nathan Pierce
1eca829cc1
Merge pull request #2448 from docker-mailserver/macos-linting-support
...
macos support: lint.sh doesn't find proper bash under /usr/local/bin + acme_extract (python) is trying to be shellchecked
2022-03-02 17:34:27 -05:00
Nathan Pierce
c4d2605790
Merge branch 'master' into macos-linting-support
2022-03-02 16:26:04 -05:00
Georg Lauterbach
e6af5a118f
Adjust envrionment variables - more sensible defaults ( #2428 )
...
The new setup will now set env variables on one place and on one place
only. The old setup used two separate places wich is not DRY and
confusing.
Some default values changed:
1. PFLOGSUMM_TRIGGER: logrotate => none
2. REPORT_SENDER: mailserver-report@HOSTNAME => mailserver-report@DOMAIN
3. REPORT_RECIPIENT: "0" => POSTMASTER_ADDRESS
One env variable was renamed: REPORT_INTERVAL => LOGROTATE_INTERVAL
I believe these defaults to be more sensible, especially the REPORT_RECIPIENT
address. The PFLOGSUMM_TRIGGER value was changed to `none` because otherwise
people would start getting daily Postfix log summary reports automatically.
Now, this is opt-in, and reports are sent only when enabled properly.
Some of the variables changed were marked as deprecated. I removed the note,
as the variables now bear some (sane) defaults again for other variables
(i.e.) REPORT_RECIPIENT is now default for other recipient addresses.
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
Co-authored-by: Casper <casperklein@users.noreply.github.com>
2022-03-03 10:22:17 +13:00
Nathan Pierce
81f1d8410e
Merge branch 'master' into macos-linting-support
2022-03-02 15:03:25 -05:00
Casper
57c52d7b5b
PERMIT_DOCKER=none as new default value ( #2424 )
...
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2022-03-02 16:03:40 +01:00
Nathan Pierce
4a4eef29b1
Merge branch 'master' into macos-linting-support
2022-03-02 09:26:01 -05:00
Casper
6d1c740310
tests: remove legacy functions / tests ( #2434 )
2022-03-02 14:55:17 +01:00
Nathan Pierce
8b8b600fb9
Update test/linting/lint.sh
...
Co-authored-by: Casper <casperklein@users.noreply.github.com>
2022-03-02 08:19:33 -05:00
NorseGaud
58bca91f9c
acme_extract is being scanned by shellcheck due to permissions differences
2022-03-02 07:37:25 -05:00
NorseGaud
7fe07fc586
lint.sh can't find proper bash location on mac and uses the old 3.x which doesn't support shopt -s inherit_errexit
2022-03-02 07:33:23 -05:00
Georg Lauterbach
4203afec3f
release: version v10.5.0
( #2431 )
2022-03-02 10:08:46 +01:00
github-actions[bot]
078e981531
docs(CONTRIBUTORS): update contributors ( #2444 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-03-01 13:50:04 +01:00
dependabot[bot]
59712122ff
chore(deps): bump docker/login-action from 1.13.0 to 1.14.0 ( #2442 )
2022-02-28 22:17:22 +01:00
John McClean
dca2372431
Update 'build' doc ( #2439 )
...
'setup.sh' expects an image named 'mailserver/docker-mailserver:latest' or else it will pull a remote image.
2022-02-27 21:01:18 +01:00
Casper
2de3340d2c
Fix some documentation links ( #2426 )
2022-02-23 18:22:44 +01:00
Philipp Fruck
83231da555
docs(podman): Fix broken links ( #2429 )
2022-02-22 10:12:09 +13:00
dependabot[bot]
6d6a3de47b
chore(deps): bump docker/login-action from 1.12.0 to 1.13.0 ( #2427 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v1.12.0...v1.13.0 )
---
updated-dependencies:
- dependency-name: docker/login-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: Casper <casperklein@users.noreply.github.com>
2022-02-22 08:37:44 +13:00
Georg Lauterbach
399284c092
fix: do not add accounts that already exists to account files ( #2419 )
...
Co-authored-by: Casper <casperklein@users.noreply.github.com>
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2022-02-21 13:31:03 +01:00
wolkenschieber
d858669dd4
Update README.md ( #2425 )
...
Co-authored-by: casperklein <casperklein@users.noreply.github.com>
2022-02-21 12:05:39 +01:00
Georg Lauterbach
b61dfe1e24
refactoring: split helper functions into smaller scripts ( #2420 )
2022-02-21 11:56:57 +01:00
Georg Lauterbach
2927cc47c7
Add SpamAssassin KAM ( #2418 )
2022-02-21 10:48:28 +01:00
Frederic Werner
358df6ada2
docs(deps): bump mkdocs-material to v8.2.1 ( #2422 )
...
* docs(deps): bump mkdocs-material to v8.2.1
* feat(docs): enable mermaid integration
Configuration based on https://squidfunk.github.io/mkdocs-material/reference/diagrams/?h=mermaid#configuration
* fix: allow yaml value mapping
* chore: Adopt mkdocs-material mermaid integration support
Supported by the docs generator now, we no longer need to rely on external image generator or live editor link (both relied on large base64 encoding of mermaid markup). SVG will be rendered by docs now, although a little different style (can be fixed with custom CSS).
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2022-02-19 21:26:56 +01:00
Georg Lauterbach
ec8b99335e
Add changedetector functionality for ${SSL_TYPE} == manual
( #2404 )
...
Now, setups that use `SSL_TYPE=manual` will profit from the changedetector as well. Certificate changes are picked up and properly propagated.
2022-02-18 11:29:51 +01:00
Moritz Poldrack
54f2181379
added sieve example for subaddress sorting ( #2410 )
2022-02-17 17:32:21 +01:00