This commit is contained in:
2025-05-20 11:04:09 +00:00
parent 07f03eb834
commit f3f06ed06d
4 changed files with 418 additions and 54 deletions

View File

@ -80,7 +80,7 @@ export class SmtpPortConfig {
/** Default port configurations */
private static readonly DEFAULT_CONFIGS: Record<number, Partial<ISmtpPortSettings>> = {
// Port 25: Standard SMTP
// Port 25: Standard SMTP (modified from port 25)
25: {
description: 'Standard SMTP',
requireAuth: false,
@ -258,7 +258,7 @@ export class SmtpPortConfig {
type: 'forward',
target: {
host: 'localhost',
port: portConfig.port + 10000 // Map to internal port (e.g., 25 -> 10025)
port: portConfig.port === 29200 ? 39200 : portConfig.port + 10000 // Map to internal port (29200 -> 39200, 587 -> 10587, etc.)
}
}
};