docker-mailserver/target/scripts/helpers
Brennan Kinney 40e2d88482
chore: Merge helpers/sasl.sh into helpers/relay.sh (#2605)
This helper was to support an earlier ENV for SASL auth support. When extracting logic into individual helpers, it was assumed this was separate from relay support, which it appears was not the case.

---

The `SASL_PASSWD` ENV is specified in tests but no longer used. There is no `external-domain.com` relay configured or tested against anywhere in the project.

The ENV was likely used in tests prior to improved relay support that allowed for adding more than a single set of relay credentials.

---

It likewise has no real relevance anywhere else outside of `relay.sh` as it's the only portion of code to operate with it.

It's only relevant for SASL auth as an SMTP client, not the SMTP server (`smtpd`) SASL support that is delegated to Dovecot. Functionality has been completely migrated into `relay.sh` as a result.

Documentation is poor for this ENV, it is unlikely in wide use? Should consider for removal.

---

The ENV has been dependent upon `RELAY_HOST` to actually enable postfix to use `/etc/postfix/sasl_passwd`, thus not likely relevant in existing setups?

---

Migrate `/etc/postfix/sasl_passwd` check from `tests.bats` as it belongs to relay tests.
2022-06-06 10:59:42 +12:00
..
accounts.sh feat: Support for Dovecot master accounts (#2535) 2022-05-08 00:28:32 +02:00
aliases.sh scripts: new log (#2493) 2022-03-21 07:07:52 +01:00
change-detection.sh chore(housekeeping): Create helpers/change-detection.sh (#2610) 2022-06-05 11:59:54 +12:00
dns.sh Remove unnecessary quotes from command substitutions (#2561) 2022-05-05 10:28:38 +02:00
error.sh Fix changedetector restart loop (#2548) 2022-04-19 21:09:25 +02:00
index.sh chore: Merge helpers/sasl.sh into helpers/relay.sh (#2605) 2022-06-06 10:59:42 +12:00
lock.sh Remove unnecessary quotes from command substitutions (#2561) 2022-05-05 10:28:38 +02:00
log.sh Use color variables instead of escape codes (#2565) 2022-05-10 17:50:33 +02:00
network.sh Rename config examples directory (#2438) 2022-03-02 22:54:14 +00:00
postfix.sh Rename config examples directory (#2438) 2022-03-02 22:54:14 +00:00
relay.sh chore: Merge helpers/sasl.sh into helpers/relay.sh (#2605) 2022-06-06 10:59:42 +12:00
ssl.sh chore(housekeeping): Create helpers/change-detection.sh (#2610) 2022-06-05 11:59:54 +12:00
utils.sh log/scripts: introduce proper log level fallback and env getter function (#2506) 2022-04-05 17:10:01 +02:00