Default SMTP port to 587 instead of 465

Hetzner (and most VPS providers) block outbound 465 by default as
anti-spam policy. Port 587 with STARTTLS is open and supported by
Resend (and any standard SMTP service). The transporter code already
flips `secure: false` automatically when port != 465, so no code
change is needed — just the default.
This commit is contained in:
Stefan 2026-05-21 23:30:13 +03:00
parent 304708fb6c
commit 356e2c8ee6

View file

@ -1,8 +1,10 @@
PORT=3000 PORT=3000
# SMTP — defaults are set for Resend (smtp.resend.com:465) # SMTP — defaults are set for Resend.
# Port 587 (STARTTLS) is used instead of 465 (implicit TLS) because most VPS
# providers (Hetzner, DigitalOcean, etc.) block outbound 465 by default.
SMTP_HOST=smtp.resend.com SMTP_HOST=smtp.resend.com
SMTP_PORT=465 SMTP_PORT=587
SMTP_USER=resend SMTP_USER=resend
SMTP_PASSWORD= SMTP_PASSWORD=
MAIL_FROM=send@read.atanasov.fi MAIL_FROM=send@read.atanasov.fi