Herr Bischoff

How to Clear Send Queue in DragonFly Mail Agent (dma)

I came across this recently on a server where hundreds of emails couldn’t be sent for some reason. The failure notifications piled up and now got sent in batches of several dozens per day.

As dma is simple, clearing the queue is as well:

rm /var/spool/dma/*