Index: openacs-4/packages/acs-mail-lite/tcl/email-inbound-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-mail-lite/tcl/email-inbound-procs.tcl,v diff -u -r1.15.2.13 -r1.15.2.14 --- openacs-4/packages/acs-mail-lite/tcl/email-inbound-procs.tcl 28 Dec 2021 10:57:01 -0000 1.15.2.13 +++ openacs-4/packages/acs-mail-lite/tcl/email-inbound-procs.tcl 15 Feb 2022 18:07:42 -0000 1.15.2.14 @@ -1256,7 +1256,7 @@ where processed_p <>'1' and release_p <>'1' order by priority - limit :email_max_ct } ] + fetch next :email_max_ct rows only}] set chunk_len [llength $chunk_ols] if { $chunk_len < 1} {