[Koha-bugs] [Bug 33537] Move domain limits from koha-conf to staff SMTP configuration

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 13 11:53:57 CEST 2023


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

--- Comment #85 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 157046
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157046&action=edit
Bug 33537: Connect the dots

Use Koha::MailDomainLimits in Koha::Notice::Util->load_domain_limits.
Only use koha-conf as fallback when table is still empty. (This is
just like SMTP servers.)

The test is adjusted accordingly and has moved more to the database
oriented side, first proving that both approaches return the same.

Test plan:
Run t/db_dependent/Koha/Notice_Util.t

NOTE: Replace A and B hereunder by two domains of your own choice.
Add a limit to KOHA-CONF: domain A, 1 per 1 hour.
Add another limit in WEB CONFIG: domain B, 1 per 1 hour
Send 2 notices to domain B. Is 1 message delayed?
Remove the table entry for B.
Run process_message_queue.pl. Is the delayed notice to B sent?
Send 2 notices to domain A. Is 1 delayed (using koha-conf fallback)?

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Pedro Amorim <pedro.amorim at ptfs-europe.com>

Bug 33537: (QA follow-up) Improve process_message_queue warning message

Signed-off-by: Pedro Amorim <pedro.amorim at ptfs-europe.com>

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

[EDIT] Adjusted test for rewording of the warn.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list