Ace Tips About How To Clear Sendmail Queue
I have a gazillion messages i need to get rid of.
How to clear sendmail queue. How to clear queued messages from sendmail /var/spool/mqueue is filled, how can i clear these messages? If you move the queue to a temporary place and create a new queue, the old queue can be run later when the host returns to service. Starting the sendmail daemon there are two commands.
How do i clear my email queue? Here is what i do: Sendmail transfers the mails to queue once they've been treated, so if sendmail is off they can't go to mqueue on time as you're experiencing.
Rm /var/spool/mqueue/* if you want to remove messages in waiting, rm /var/spool/mqueue. Sendmail, command to flush queue? Red hat enterprise linux 6;
To remove all messages from a particular queue, click the queues tab. Use this command to delete the mess: This method will automatically remove all the files in the.
# cd /var/spool move the. This above line gets stuck for no reason. All mail will be deleted.
# svcadm disable network/smtp:sendmail now sendmail is no longer processing the queue directory. Method 1 • go to spool mail directory and remove all the files inside. I sent a mail using send a test mail option in database mail, and that worked perfect.