SMTP config: MaxRetries/RetryDelay not settable via management API, CLI or UI #149
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
SmtpConfiguration.MaxRetries/RetryDelaydrive the Notification Outbox Email retry policy (NotificationOutboxActor.ResolveSmtpPolicyAsync), but nothing in the product can set them:UpdateSmtpConfigCommand/CreateSmtpConfigCommand(Commons/Messages/Management/NotificationCommands.cs) carry no retry fields.notification smtp create|updatehas no--max-retries/--retry-delay-seconds(the SMS commands do).So every SMTP row is created with
0 / 00:00:00, which the outbox clamps to the fallback 10 retries / 1 min and logs a Warning about on every policy resolve. (ConnectionTimeoutSecondsandMaxConcurrentConnectionsshow0insmtp listas well — check whether they have the same gap.)Observed 2026-11-25 on DEV vd03: the row was
0 / 0. Setting it to 10 / 1 min had to be done by a direct SQLUPDATE SmtpConfigurationsagainst the ConfigDb.Ask:
MaxRetries/RetryDelayto the create/update commands. When omitted, keep the existing values (same rule asTlsMode).notification sms update --max-retries/--retry-delay-seconds.Component-NotificationService.md.Fixed in
a4523e09(pushed to main): optional MaxRetries/RetryDelay/ConnectionTimeoutSeconds/MaxConcurrentConnections on Create/UpdateSmtpConfigCommand (preserve-if-null, negatives refused), CLInotification smtp create|update --max-retries --retry-delay-seconds --connection-timeout-seconds --max-concurrent-connections, Central UI form fields (new rows pre-fill 10 / 60 s), README + Component-NotificationService. Not yet deployed to DEV/QA; vd03's row is already 10 / 1 min via the earlier SQL fix.