https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43340

--- Comment #27 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 210745
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=210745&action=edit
Bug 43340: (QA follow-up) Don't use up retries of messages that were never
tried

Once a mail server had turned a connection away, the rest of the messages
for it in that run were passed to _retry_message_later, which counts an
attempt. A server that stays down for longer than the retry schedule
(about 3.7 hours) therefore failed every queued message with SENDMAIL,
including ones that never reached the server.

Add _defer_message, which only pushes retry_after back and leaves
send_attempts alone. Only the message that actually met the failure
records an attempt.

Test plan:
1. prove t/db_dependent/Letters.t

Signed-off-by: Martin Renvoize <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to