Closed felixauringer closed 6 months ago
Describe the bug
Haraka does not load smtp.yaml or smtp.json if smtp.ini does not exist.
smtp.yaml
smtp.json
smtp.ini
Expected behavior
Haraka should either crash although smtp.json or smtp.yaml is present or it should load one of them.
Observed behavior
The existence of smtp.json or smtp.yaml prevents Haraka from crashing. See this check.
Steps To Reproduce
haraka --install "${HARAKA_HOME}"
rm "${HARAKA_HOME}/config/smtp.ini"
mv "${HARAKA_HOME}/config/smtp.ini" "${HARAKA_HOME}/config/smtp.yaml"
.yaml
System Info:
Additional context
Haraka runs inside an Alpine Docker container with Alpine version 3.17.2.
Describe the bug
Haraka does not load
smtp.yaml
orsmtp.json
ifsmtp.ini
does not exist.Expected behavior
Haraka should either crash although
smtp.json
orsmtp.yaml
is present or it should load one of them.Observed behavior
The existence of
smtp.json
orsmtp.yaml
prevents Haraka from crashing. See this check.Steps To Reproduce
haraka --install "${HARAKA_HOME}"
rm "${HARAKA_HOME}/config/smtp.ini"
mv "${HARAKA_HOME}/config/smtp.ini" "${HARAKA_HOME}/config/smtp.yaml"
smtp.ini
is requested.smtp.yaml
orsmtp.json
are never requested..yaml
exists (see here). This is not done for INI files.System Info:
Additional context
Haraka runs inside an Alpine Docker container with Alpine version 3.17.2.