fix: use internal Docker SMTP hostname and fix noreply@rmail.online creds

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-03-16 12:17:05 -07:00
parent d0fbbd2ee5
commit 9ecffff692
2 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ services:
- IMAP_HOST=mail.rmail.online
- IMAP_PORT=993
- IMAP_TLS_REJECT_UNAUTHORIZED=false
- SMTP_HOST=${SMTP_HOST:-mail.rmail.online}
- SMTP_HOST=${SMTP_HOST:-mailcowdockerized-postfix-mailcow-1}
- SMTP_PORT=${SMTP_PORT:-587}
- SMTP_USER=${SMTP_USER:-noreply@rmail.online}
- SMTP_PASS=${SMTP_PASS}
@ -213,7 +213,7 @@ services:
- PORT=3000
- JWT_SECRET=${JWT_SECRET}
- DATABASE_URL=postgres://encryptid:${ENCRYPTID_DB_PASSWORD}@encryptid-db:5432/encryptid
- SMTP_HOST=${SMTP_HOST:-mail.rmail.online}
- SMTP_HOST=${SMTP_HOST:-mailcowdockerized-postfix-mailcow-1}
- SMTP_PORT=${SMTP_PORT:-587}
- SMTP_USER=${SMTP_USER:-noreply@rspace.online}
- SMTP_PASS=${SMTP_PASS}

View File

@ -84,7 +84,7 @@ checklistApiRoutes.post("/send", async (c) => {
const nodemailer = await import("nodemailer");
const transport = nodemailer.createTransport({
host: process.env.SMTP_HOST || "mail.rmail.online",
host: process.env.SMTP_HOST || "mailcowdockerized-postfix-mailcow-1",
port: Number(process.env.SMTP_PORT) || 587,
secure: false,
auth: {