Skip to main content

Hello team,

 

I need help in clearing the mail queue in one of our Centreon pollers. For some reason we have hundreds of old/stale mails in the queue. I use the command “mailq” to see all these old emails in the queue.

 

I need to clear or delete these old emails from the queue, but I am not sure in which folder or directory to check and clear this...also can please advise the correct comment to delete this?

 

Thank you,

Crisanto

Hello Crisanto 🖐🏾,

 

You can delete them with

postsuper -d queue_id

or 

postsuper -d ALL hold

to the delete all mails in the hold queue.

 


Thanks a lot.

 

I used this -postsuper -d ALL

 

  • Crisanto

Reply