docker-mailserver/target/bin
Brennan Kinney c862e1451d
chore(housekeeping): Create helpers/change-detection.sh (#2610)
* chore: Extract change-detection method to it's own helper

This doesn't really belong in `helpers/ssl.sh`. Moving to it's own helper script.

* chore: Co-locate related change-detection method from container startup

It seems relevant to migrate the related support during startup for the change detection feature into this helper.

I opted to move the call from `start-mailserver.sh` into the `_setup` call at the end for a more explicit/visible location.

* chore: Move `CHKSUM_FILE` into `helpers/change-detection.sh`

It belongs there, not in `helpers/index.sh`.

* chore: Revise inline documentation

* tests(fix): Ensure correct functionality

Presently `test/test_helper.bats` is using it's own  `CHKSUM_FILE` instead of sourcing the var for the filepath.

`test_helper/common.bash` was calling a method to check for changes, but this helper may not correctly detect letsencrypt related changes as these are not ENV rely on, but global vars handled by `helpers/dns.sh`, so that should be run first like it is for `check-for-changes.sh`.

* tests(chore): Use `CHKSUM_FILE` var from helper

* chore: `addmailuser` should use `CHKSUM_FILE` var

* chore: Update `check-for-changes.sh` log message with correct path
2022-06-05 11:59:54 +12:00
..
acme_extract.py acme_extract -> acme_extract.py + F_BIN to avoid .py 2022-03-06 22:17:29 -05:00
addalias Use color variables instead of escape codes (#2565) 2022-05-10 17:50:33 +02:00
adddovecotmasteruser feat: Support for Dovecot master accounts (#2535) 2022-05-08 00:28:32 +02:00
addmailuser chore(housekeeping): Create helpers/change-detection.sh (#2610) 2022-06-05 11:59:54 +12:00
addrelayhost Use color variables instead of escape codes (#2565) 2022-05-10 17:50:33 +02:00
addsaslpassword chore: Drop setup.sh DATABASE fallback ENV (#2556) 2022-04-20 12:29:28 +12:00
debug-fetchmail scripts: refactored daemon-stack.sh (#2496) 2022-03-27 09:43:39 +02:00
delalias chore: Drop setup.sh DATABASE fallback ENV (#2556) 2022-04-20 12:29:28 +12:00
deldovecotmasteruser feat: Support for Dovecot master accounts (#2535) 2022-05-08 00:28:32 +02:00
delmailuser Use color variables instead of escape codes (#2565) 2022-05-10 17:50:33 +02:00
delquota chore: Drop setup.sh DATABASE fallback ENV (#2556) 2022-04-20 12:29:28 +12:00
excluderelaydomain chore: Drop setup.sh DATABASE fallback ENV (#2556) 2022-04-20 12:29:28 +12:00
fail2ban Add ban feature to fail2ban script (#2538) 2022-04-19 08:44:51 +00:00
listalias chore: Drop setup.sh DATABASE fallback ENV (#2556) 2022-04-20 12:29:28 +12:00
listdovecotmasteruser feat: Support for Dovecot master accounts (#2535) 2022-05-08 00:28:32 +02:00
listmailuser scripts: refactored scripts located under target/bin/ (#2500) 2022-03-26 09:30:09 +01:00
open-dkim Use color variables instead of escape codes (#2565) 2022-05-10 17:50:33 +02:00
postfix-summary scripts: refactored scripts located under target/bin/ (#2500) 2022-03-26 09:30:09 +01:00
print-environment scripts: new log (#2493) 2022-03-21 07:07:52 +01:00
quota-warning refactoring: split helper functions into smaller scripts (#2420) 2022-02-21 11:56:57 +01:00
report-pflogsumm-yesterday scripts: refactored scripts located under target/bin/ (#2500) 2022-03-26 09:30:09 +01:00
restrict-access scripts: refactored scripts located under target/bin/ (#2500) 2022-03-26 09:30:09 +01:00
sedfile Run sedfile tests in container (#2569) 2022-05-05 12:58:00 +02:00
setquota chore: Drop setup.sh DATABASE fallback ENV (#2556) 2022-04-20 12:29:28 +12:00
setup Use color variables instead of escape codes (#2565) 2022-05-10 17:50:33 +02:00
updatedovecotmasteruser feat: Support for Dovecot master accounts (#2535) 2022-05-08 00:28:32 +02:00
updatemailuser Remove unnecessary quotes from command substitutions (#2561) 2022-05-05 10:28:38 +02:00
virus-wiper refactoring: split helper functions into smaller scripts (#2420) 2022-02-21 11:56:57 +01:00