chore: migrate SMTP from mx.jeffemmett.com to mail.rmail.online
Update EncryptID SMTP defaults to use rmail.online Mailcow instance. From address now noreply@rspace.online instead of noreply@jeffemmett.com. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
2d0cf499f6
commit
cac038ed0d
|
|
@ -16,11 +16,11 @@ services:
|
||||||
- PORT=3000
|
- PORT=3000
|
||||||
- JWT_SECRET=${JWT_SECRET}
|
- JWT_SECRET=${JWT_SECRET}
|
||||||
- DATABASE_URL=postgres://encryptid:${ENCRYPTID_DB_PASSWORD}@encryptid-db:5432/encryptid
|
- DATABASE_URL=postgres://encryptid:${ENCRYPTID_DB_PASSWORD}@encryptid-db:5432/encryptid
|
||||||
- SMTP_HOST=${SMTP_HOST:-mx.jeffemmett.com}
|
- SMTP_HOST=${SMTP_HOST:-mail.rmail.online}
|
||||||
- SMTP_PORT=${SMTP_PORT:-587}
|
- SMTP_PORT=${SMTP_PORT:-587}
|
||||||
- SMTP_USER=${SMTP_USER:-noreply@jeffemmett.com}
|
- SMTP_USER=${SMTP_USER:-noreply@rspace.online}
|
||||||
- SMTP_PASS=${SMTP_PASS}
|
- SMTP_PASS=${SMTP_PASS}
|
||||||
- SMTP_FROM=${SMTP_FROM:-EncryptID <noreply@jeffemmett.com>}
|
- SMTP_FROM=${SMTP_FROM:-EncryptID <noreply@rspace.online>}
|
||||||
- RECOVERY_URL=${RECOVERY_URL:-https://auth.rspace.online/recover}
|
- RECOVERY_URL=${RECOVERY_URL:-https://auth.rspace.online/recover}
|
||||||
labels:
|
labels:
|
||||||
# Traefik auto-discovery
|
# Traefik auto-discovery
|
||||||
|
|
|
||||||
|
|
@ -57,12 +57,12 @@ const CONFIG = {
|
||||||
sessionDuration: 15 * 60, // 15 minutes
|
sessionDuration: 15 * 60, // 15 minutes
|
||||||
refreshDuration: 7 * 24 * 60 * 60, // 7 days
|
refreshDuration: 7 * 24 * 60 * 60, // 7 days
|
||||||
smtp: {
|
smtp: {
|
||||||
host: process.env.SMTP_HOST || 'mx.jeffemmett.com',
|
host: process.env.SMTP_HOST || 'mail.rmail.online',
|
||||||
port: parseInt(process.env.SMTP_PORT || '587'),
|
port: parseInt(process.env.SMTP_PORT || '587'),
|
||||||
secure: false, // STARTTLS on 587
|
secure: false, // STARTTLS on 587
|
||||||
user: process.env.SMTP_USER || 'noreply@jeffemmett.com',
|
user: process.env.SMTP_USER || 'noreply@rspace.online',
|
||||||
pass: process.env.SMTP_PASS || '',
|
pass: process.env.SMTP_PASS || '',
|
||||||
from: process.env.SMTP_FROM || 'EncryptID <noreply@jeffemmett.com>',
|
from: process.env.SMTP_FROM || 'EncryptID <noreply@rspace.online>',
|
||||||
},
|
},
|
||||||
recoveryUrl: process.env.RECOVERY_URL || 'https://auth.rspace.online/recover',
|
recoveryUrl: process.env.RECOVERY_URL || 'https://auth.rspace.online/recover',
|
||||||
allowedOrigins: [
|
allowedOrigins: [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue