docker-mailserver/target/scripts/startup
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
..
check-stack.sh function _defunc removed (#2199) 2021-09-23 19:49:07 +02:00
daemons-stack.sh function _defunc removed (#2199) 2021-09-23 19:49:07 +02:00
fixes-stack.sh Fix harmless startup errors (#2357) 2022-01-08 00:25:09 +01:00
misc-stack.sh remove unnecessary ls from debug log (#2294) 2021-11-12 14:33:04 +01:00
setup-stack.sh Adjust envrionment variables - more sensible defaults (#2428) 2022-03-03 10:22:17 +13:00