Use Cloudron STARTTLS port 2587 for SMTP
Switch from plain SMTP on port 2525 to STARTTLS on port 2587. The Go smtp.SendMail function automatically handles STARTTLS negotiation when encryption is empty, which is required by Cloudron's sendmail addon on the STARTTLS port.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
"contactEmail": "contact@ente.io",
|
||||
"website": "https://ente.io",
|
||||
"tagline": "Open source, end-to-end encrypted photo backup",
|
||||
"version": "0.3.7",
|
||||
"version": "0.3.8",
|
||||
"upstreamVersion": "git-main",
|
||||
"healthCheckPath": "/health",
|
||||
"httpPort": 3080,
|
||||
|
||||
2
start.sh
2
start.sh
@@ -123,7 +123,7 @@ JWT_SECRET_FILE="$SECRETS_DIR/jwt_secret"
|
||||
SESSION_SECRET_FILE="$SECRETS_DIR/session_secret"
|
||||
|
||||
SMTP_HOST="${CLOUDRON_MAIL_SMTP_SERVER:-mail}"
|
||||
SMTP_PORT="${CLOUDRON_MAIL_SMTP_PORT:-2525}"
|
||||
SMTP_PORT="${CLOUDRON_MAIL_STARTTLS_PORT:-2587}"
|
||||
SMTP_ENCRYPTION=""
|
||||
SMTP_USERNAME="${CLOUDRON_MAIL_SMTP_USERNAME:-}"
|
||||
SMTP_PASSWORD="${CLOUDRON_MAIL_SMTP_PASSWORD:-}"
|
||||
|
||||
Reference in New Issue
Block a user