docker-mailserver/target/bin
Brennan Kinney e3cc627e18
refactor: Share a common helper (vhost builder) for sourcing domains (#2620)
* chore: Split vhost helper method and use filepath vars

- Helpers `accounts.sh` and `aliases.sh` can move their vhost code into this helper.
- They share duplicate code with `bin/open-dkim` which will also leverage this vhost helper going forward.

* chore: Sync vhost generation logic into helper

- Chunky commit, but mostly copy/paste of logic into a common method.
- `bin/open-dkim` additionally wrapped relevant logic in a function call and revised inline docs.

* chore: Include LDAP vhost support

- Revises notes for LDAP vhost support.
- This now ensures LDAP users get vhost rebuilt to match the startup script for when change detection support is enabled.
- `bin/open-dkim` will additionally be able to support the default `DOMAINNAME` var (set via `helpers/dns.sh`) for LDAP users instead of requiring them to provide one explicitly.

* chore(`bin/open-dkim`): Ensure `DOMAINNAME` is properly set

- This will ensure LDAP users insert the same `DOMAINNAME` value as used during container startup.
- The container itself should panic at startup (during `helpers/dns.sh`) if this isn't configured correctly already, thus it should not introduce any breaking change to users of this utility?

* chore: Set the 2nd value as blank `_`

Line is split by a delimiter such as white-space (or via IFS: `|`), the blank `_` var is to indicate we're not interested in that value, but still leverage how `read -r` works, instead of splitting the var ourselves first thing.

* chore: Remove shellcheck disable lines

No longer applicable with the switch to `_`
2022-06-10 10:57:10 +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 chore: Sync dovecot-master-user commands to use new style syntax (#2611) 2022-06-05 00:05:33 +00: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 chore: Sync dovecot-master-user commands to use new style syntax (#2611) 2022-06-05 00:05:33 +00: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 Check if fail2ban is running (#2626) 2022-06-07 11:42:06 +00:00
listalias chore(housekeeping): Normalize how config files filter out unwanted lines (#2619) 2022-06-07 01:07:30 +12:00
listdovecotmasteruser chore(housekeeping): Normalize how config files filter out unwanted lines (#2619) 2022-06-07 01:07:30 +12:00
listmailuser chore(housekeeping): Normalize how config files filter out unwanted lines (#2619) 2022-06-07 01:07:30 +12:00
open-dkim refactor: Share a common helper (vhost builder) for sourcing domains (#2620) 2022-06-10 10:57:10 +12: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