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”
Oh, that’s great! Thank you so much!
Amazing! It worked very well. Thank you so much.
Will always try to help when i can find the time and if of course if I know the answer…
The mailq command is what I have always used. It is a shortcut for postqueue -p.
Great. Both commands are very useful. Thank you!
This topic was automatically closed 40 days after the last reply. New replies are no longer allowed.