mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-04-19 06:37:11 -04:00
Deprecate functionality supported by ssmtp but not by Email::Sender
The deprecation is required in order to move to built-in handling of mail instead of relying on external handling by tools like ssmtp.
This commit is contained in:
parent
eea2bbdbdd
commit
1b6a2f5c99
@ -154,8 +154,8 @@ affect the performance experience of users.
|
||||
* `SSMTP_USE_STARTTLS` (config: `UseSTARTTLS`)
|
||||
* `SSMTP_AUTH_USER` (config: `AuthUser`)
|
||||
* `SSMTP_AUTH_PASS` (config: `AuthPass`)
|
||||
* `SSMTP_AUTH_METHOD` (config: `AuthMethod`)
|
||||
* `SSMTP_FROMLINE_OVERRIDE` (config: `FromLineOverride`)
|
||||
* `SSMTP_AUTH_METHOD` (config: `AuthMethod` -- DEPRECATED)
|
||||
* `SSMTP_FROMLINE_OVERRIDE` (config: `FromLineOverride` -- DEPRECATED)
|
||||
|
||||
These variables are used to set outgoing SMTP defaults.
|
||||
|
||||
@ -171,6 +171,10 @@ Use the [ssmtp.conf man
|
||||
page](https://www.systutorials.com/docs/linux/man/5-ssmtp.conf/) to look up
|
||||
the meaning and function of each of the mail configuration keys.
|
||||
|
||||
The deprecated configuration keys won't be available as of the docker images
|
||||
for LedgerSMB 1.8 -- which will feature a new built-in mail handling library
|
||||
to compensate for the fact that Debian Buster no longer includes `ssmtp`.
|
||||
|
||||
# Troubleshooting/Developing
|
||||
|
||||
Currently the LedgerSMB installation is in /srv/ledgersmb
|
||||
|
@ -5,6 +5,10 @@ grep -qc "$ConfiguredComment" /etc/ssmtp.conf && {
|
||||
exit
|
||||
}
|
||||
|
||||
[ -z "$SSMTP_FROMLINE_OVERRIDE" ] || echo "SSMTP_FROMLINE_OVERRIDE (DEPRECATED) won't be supported as of the LedgerSMB 1.8 Docker images"
|
||||
[ -z "$SSMTP_AUTH_METHOD" ] || echo "SSMTP_AUTH_METHOD (DEPRECATED) won't be supported as of the LedgerSMB 1.8 Docker images"
|
||||
|
||||
|
||||
sed -i \
|
||||
-e "s/\(root=\).*\$/\1$SSMTP_ROOT/g" \
|
||||
-e "s/\(mailhub=\).*\$/\1$SSMTP_MAILHUB/g" \
|
||||
|
Loading…
Reference in New Issue
Block a user