Check delivery queue (about "Delayed Mail - still being retried")

Hi there,

So, guys, is there a way to check all the emails which are in the box queue?

Regarding that return messages “Delayed Mail (still being retried)”?

I would like to see if I can check which and how many of them there are in my box’s queue.

Thanks in advance.

I use below to check if an email from a certain domain is in the queue. You can adapt it with other search criteria to meet your use case.

cat /var/log/mail.log | grep “domain.tld”

1 Like

Oh, that’s great! Thank you so much!

via the CLI

postqueue -p

Hope it helps

1 Like

@gezza ,

Amazing! It worked very well. Thank you so much.

1 Like

no problem :wink:

Will always try to help when i can find the time and if of course if I know the answer…

1 Like

The mailq command is what I have always used. It is a shortcut for postqueue -p.

Great. Both commands are very useful. Thank you! :slight_smile:

This topic was automatically closed 40 days after the last reply. New replies are no longer allowed.