How to delete mail from postfix queue

Nov 23, 2012 00:00 · 86 words · 1 minute read Linux postfix

I have found a few stocked emails in queue of my mail server (I’m using postfix). My external MTA tried to deliver it to my home server, but my main home ISP has some issue and I’m using backup line. These emails are not important. So, time to clean them with postsuper ;)

~># mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
EBCF74421E3*     596 Fri Nov 23 20:00:10  michael@mydomain

-- 1 Kbytes in 1 Request.

~># postsuper -d EBCF74421E3
postsuper: EBCF74421E3: removed
postsuper: Deleted: 1 message