-
Notifications
You must be signed in to change notification settings - Fork 953
Closed
Labels
bug riskProne to bugsProne to bugsneeds-triageIssue that require triageIssue that require triages2Broken use cases or features (with a workaround). Only humans may set this.Broken use cases or features (with a workaround). Only humans may set this.
Description
CODER_NOTIFICATIONS_EMAIL_SMARTHOST
is now deprecated, and superseded by CODER_EMAIL_SMARTHOST
in #15270.
However, if CODER_EMAIL_SMARTHOST
is unset then the value from CODER_NOTIFICATIONS_EMAIL_SMARTHOST
should be used. Currently it is not, and I suspect it's because CODER_EMAIL_SMARTHOST
has a default value:
emailSmarthost := serpent.Option{
Name: "Email: Smarthost",
Description: "The intermediary SMTP host through which emails are sent.",
Flag: "email-smarthost",
Env: "CODER_EMAIL_SMARTHOST",
Default: "localhost:587", // To pass validation.
Value: &c.Notifications.SMTP.Smarthost,
Group: &deploymentGroupEmail,
YAML: "smarthost",
}
Metadata
Metadata
Assignees
Labels
bug riskProne to bugsProne to bugsneeds-triageIssue that require triageIssue that require triages2Broken use cases or features (with a workaround). Only humans may set this.Broken use cases or features (with a workaround). Only humans may set this.