-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: opportunistic tls flag for smtp (#4794)
- Loading branch information
Showing
5 changed files
with
24 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -139,10 +139,11 @@ services: | |
# default send from email address, if not specified | ||
MAIL_DEFAULT_SEND_FROM: 'YOUR EMAIL FROM (eg: no-reply <[email protected]>)' | ||
SMTP_SERVER: '' | ||
SMTP_PORT: 587 | ||
SMTP_PORT: 465 | ||
SMTP_USERNAME: '' | ||
SMTP_PASSWORD: '' | ||
SMTP_USE_TLS: 'true' | ||
SMTP_OPPORTUNISTIC_TLS: 'false' | ||
# the api-key for resend (https://resend.com) | ||
RESEND_API_KEY: '' | ||
RESEND_API_URL: https://api.resend.com | ||
|
@@ -268,10 +269,11 @@ services: | |
# default send from email address, if not specified | ||
MAIL_DEFAULT_SEND_FROM: 'YOUR EMAIL FROM (eg: no-reply <[email protected]>)' | ||
SMTP_SERVER: '' | ||
SMTP_PORT: 587 | ||
SMTP_PORT: 465 | ||
SMTP_USERNAME: '' | ||
SMTP_PASSWORD: '' | ||
SMTP_USE_TLS: 'true' | ||
SMTP_OPPORTUNISTIC_TLS: 'false' | ||
# the api-key for resend (https://resend.com) | ||
RESEND_API_KEY: '' | ||
RESEND_API_URL: https://api.resend.com | ||
|
a325a29
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm working on an update of
dify
deployment solution on k8s and found port465
is substituted for587
in smtp config in this commit. May I know the reason, as document suggests 587 for TLS.