Remove all the messages from the mail queue

Description of your first forum.
Post Reply
woodevie
Posts: 13
Joined: Thu Jan 22, 2015 4:05 pm

Remove all the messages from the mail queue

Post by woodevie » Tue Dec 29, 2015 6:25 pm

Hello all,

Some one hack my email account of my dedicated server and send unauthorized mail so please help me and suggest me
how do I remove all the messages from the mail queue.

Thanks

dylanjonathan147
Posts: 7
Joined: Thu Jan 22, 2015 4:42 pm

Re: Remove all the messages from the mail queue

Post by dylanjonathan147 » Mon Aug 22, 2016 10:44 pm

Which panel are you using for maintain you server?
If it is cPanel then direct go to "Email"
Then "Email Queue" and select all the unwanted email and then press the delete button.
and one more thing is change the server password also for protecting to schedule new email.

Thanks

Madison
Posts: 13
Joined: Mon Jan 19, 2015 2:54 pm

Re: Remove all the messages from the mail queue

Post by Madison » Tue Oct 26, 2021 3:14 am

Exim All mails in the Mail Queue should be removed.
1. Type # exim -bp to print a list of the messages in the queue.
2. Enter # exim -Mrm message-id to remove a message from the queue.

3. Type # exim -bp | awk '/ *[0-9]+[mhd]/print "exim -Mrm " $3' | bash to clear all messages from the queue.

michaelsmith2345
Posts: 9
Joined: Thu Jan 22, 2015 4:38 pm

Re: Remove all the messages from the mail queue

Post by michaelsmith2345 » Mon Dec 06, 2021 4:14 am

In Postfix, how can I remove a mail queue?
Read the examples below to learn how to clear/remove the mail queue in Postfix.
Scenario 1: Run postsuper -d mail queue id to remove a specific mail queue id (you'll receive it if you run mailq).
Scenario 2: Use postsuper -d ALL to remove ALL emails from the queue.

Post Reply