docker-mailserver/target/scripts
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
..
helpers fix: do not add accounts that already exists to account files (#2419) 2022-02-21 13:31:03 +01:00
startup Adjust envrionment variables - more sensible defaults (#2428) 2022-03-03 10:22:17 +13:00
wrapper refactoring: split helper functions into smaller scripts (#2420) 2022-02-21 11:56:57 +01:00
check-for-changes.sh refactoring: split helper functions into smaller scripts (#2420) 2022-02-21 11:56:57 +01:00
start-mailserver.sh Adjust envrionment variables - more sensible defaults (#2428) 2022-03-03 10:22:17 +13:00
update-check.sh Update check (#1951) 2021-05-19 21:18:06 +02:00