Skip to content

Commit

Permalink
Merge pull request #545 from danone-dev/smtp_ssl
Browse files Browse the repository at this point in the history
fix: change default setting of SMTP_SSL
  • Loading branch information
jcormier committed Mar 26, 2024
2 parents d1f2ac8 + f550222 commit f3dc70d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/runtime/functions
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,10 @@ redmine_configure_email_delivery() {
else
echo "Configuring redmine::email_delivery..."

if [[ "${SMTP_SSL}" != "true" ]]; then
exec_as_redmine sed -i -e '/{{SMTP_SSL}}/d' ${REDMINE_CONFIG}
fi

if [[ -z "${SMTP_USER}" ]]; then
exec_as_redmine sed -i \
-e '/{{SMTP_USER}}/d' \
Expand Down

0 comments on commit f3dc70d

Please sign in to comment.