Quantcast
Channel: Znuny Open Source Ticketsystem
Viewing all articles
Browse latest Browse all 300

set seconds interval and number of retry when sending mail

$
0
0
My sendmail module is "kernel::system::email::smtp"
The system try to send email each minute.
After 2 minutes it try to resend.
If it fails it stops.

How can I sets the parameters for seconds interval and retry number?
In sysconfig I have ,in key MailQueue, IncrementAttemptDelayInMinutes = 2 and ItemMaxAttempts = 3.
(seems like do not consider the value of ItemMaxAttempts
or it consider the message "Resending pause still active for message" as a try)

Code:

Kernel::System::Email::SMTPReceived message for sending, validating message contents.23/01/2025 08:57:08Kernel::System::EmailError sending message using backend 'Kernel::System::Email::SMTP'.23/01/2025 08:57:09Kernel::System::MailQueueMessage could not be sent! Error message: Can't connect to test.aloha.net: !23/01/2025 08:57:09Kernel::System::MailQueueTemporary problem returned from server, requeuing message for sending. Message: SMTPCode: -, ErrorMessage: Can't connect to test.aloha.net: !23/01/2025 08:57:09Kernel::System::MailQueueResending pause still active for message with id "143140", please wait until "2025-01-23 08:59:09"!23/01/2025 08:58:07Kernel::System::MailQueueResending pause still active for message with id "143140", please wait until "2025-01-23 08:59:09"!23/01/2025 08:59:07Kernel::System::MailQueueMessage could not be sent! Error message:23/01/2025 09:00:08Kernel::System::MailQueuePermanent sending problem or we reached the sending attempt limit. Message will be removed23/01/2025 09:00:08

Statistics: Posted by rodolfor — 23 Jan 2025, 11:37 — Replies 0 — Views 24



Viewing all articles
Browse latest Browse all 300

Trending Articles