How to check what emails are stuck in the queue?

Moderator: crythias

Post Reply
zerszenyi
Znuny newbie
Posts: 17
Joined: 27 Sep 2021, 12:41
Znuny Version: 6.0
Real Name: Zoltan Erszenyi

How to check what emails are stuck in the queue?

Post by zerszenyi »

Hi,

I am noticing lots of emails in the Processing queue (Communication Log -> Open Communications) , as well as in the Failed queue. There are 1460 messages in the Processing queue. When clicking on any of the messages, I get something similar to this:

Send Queue.png

Clearly M365 won't allow sending to root@localhost. How can I tell what sends email to root@localhost, and where can it be changed to a sensible recipient address? Where can I see a more detailed log of what is being sent that would actually allow me to diagnose it better?

Thank you.
You do not have the required permissions to view the files attached to this post.
zerszenyi
Znuny newbie
Posts: 17
Joined: 27 Sep 2021, 12:41
Znuny Version: 6.0
Real Name: Zoltan Erszenyi

Re: How to check what emails are stuck in the queue?

Post by zerszenyi »

Found a root@localhost at Daemon::SchedulerTaskWorker::NotificationRecipientEmail. Updated it to something sensible taht works with M365.

Now I just have to somehow cancel the emails to root@localhost - any pointers are welcome, to get rid of those 1460 messages...

...and wait to see if the address change made a difference.
skullz
Znuny superhero
Posts: 624
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: How to check what emails are stuck in the queue?

Post by skullz »

Code: Select all

otrs > /opt/otrs/bin/otrs.Console.pl Maint::Email::MailQueue
There is option to delete the specific (filter) communication that still within the queue...
good luck
Post Reply