How can I empty mail queue?


(Greece) #1

In Dashboard there is a notification 32 messages are qeued on ths machine and have not been delivered. I would like to empty Mail qeue, how could I do this?
Than you!

PBX Version:
15.0.16.73
PBX Distro:
12.7.6-1904-1.sng7
Asterisk Version:
13.22.0


#2

That depends on what software is handling mail on your system. Typically is either postfix or sendmail.
Just googling ‘postfix clear queue’ would show lots of examples on how to clear the queue.
Though I would be more concerned about why are they stuck in your queue - these could be perfectly good emails stuck due to some temporary issue on the internet; or maybe you are using a mail relay and that is having issues at the moment.


(Greece) #3

My freePBX rns on a NUC box with a linux distro. How can I find the mail server?
I think they stack when I changed email address from gmail to something else. I don’t mind so much why they stuck, I just want the flame to go away from my dashboard.


#4

rpm -qa | egrep ‘sendmail|postfix’
would show if you have sendmail or postfix installed (most likely postfix). Though there are other possiblities these are the big 2.


(Greece) #5

postsuper -d ALL

deleted all qeued mail, thank you for help!


(system) closed #6

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