Emails get stuck in mail.box

Emails get stuck in mail.box after restarting the server.
After restarting the server there are no stuck mails in the server statistics. The ro * command does not send mail. But letters are sent after resaving them in mail.box.
Re-saving of mails was done by script and method notesdocument.save.

Command “tell router list” displays the following information:
Mbx NoteID ID State Size Pri Count ScheduledDate From
[tid] ---------------------------------------
[tid] Total messages Active: 0
[tid] Total messages Pending Delete: 0

And there are 30+ emails in mail.box with no errors:

Have you encountered such behavior and how to fix it?

Domino 12.0.2FP6
OS Rocky 9.6

Hi Aleksandr,

I suggest that you open a support Case so that this can be further investigated to determine the root cause of the issue

Regards,
Jemille

From your screenshot, I can see that you’re using four mailboxes: mail1.box, mail2.box, mail3.box, and mail4.box.

You can use the “show stat mail” command to check mail statistics. The Mail.Mailbox0x.TotalPending values indicate the number of pending messages. For example:
Mail.Mailbox01.TotalPending = 1
Mail.Mailbox02.TotalPending = 0
Mail.Mailbox03.TotalPending = 1

You can also use the “tell router show queue” command to check the Router’s queue statistics.

For more details, refer to the following article:
“How to read the output of Tell Router Show command”

Checking the following points may help narrow down the issue:
Are the stuck messages intended for Internet recipients or Notes users within your Domino domain?
Are other messages being delivered successfully to the same recipients?
Are only the messages in mail2.box stuck, while the Router can successfully deliver messages from mail1.box, mail3.box, or mail4.box? If so, what happens if you copy and paste one of the stuck messages into another mail*.box?
Are there any relevant error messages in the console.log?
Ensure they are not being held by anti-virus or other 3rd party software.

Hello. Sorry for the late reply.

Tell Router Show Queues
07.07.2025 11:20:24 Remote console command issued by admin/org: Tell Router Show Queues
[003013:000002-00007AC1BF8AD740] Msgs State Via Destination
[003013:000002-00007AC1BF8AD740] Transfer Threads: Max = 25; Total = 14; Inactive = 0; Max Concurrent = 12
[003013:000002-00007AC1BF8AD740] Delivery Threads: Max = 25; Total = 25; Inactive = 0
[003013:000002-00007AC1BF8AD740] Dispatch Threads: Max = 4; Total = 2; Inactive = 2
[003013:000002-00007AC1BF8AD740] Sweep Threads: Max = 4; Total = 2; Inactive = 2

There are no errors. It is still unclear when exactly the problem occurs. However, we noticed that emails get stuck after restarting the server. We also found out that these emails are successfully sent after they are resaved (notesdocument.save).

A script is currently running as a temporary solution, but the cause is still unclear.

What can be done to determine the cause?

Please check document properties for pending mails in mail.box and see if you find anything from scanning software like trendmicro etc. We have seen cases where trendmicro holds mails in mail.box and we can see in document properties of such mail documents in mail.box.