| Subcribe via RSS

Delete mail queue from or to a specific email address

March 25th, 2010 Posted in Mail server

Some times, you may need to delete mail queue from or to a specific email address in your Postfix mail server.   For example, if  you get spam attack that fills your server with a lot of emails from the same sender email address or to the same recipient email address, you need to clean those emails from your mail queue.

Manually deleting those email is very time consuming.  Here are the step to clean those email with one single command:

for i in `/usr/sbin/postqueue -p|grep '[email protected]' |awk {'print $1'}|grep -v '[email protected]'`; do /usr/sbin/postsuper -d $i ; done

This command will delete mail queue from or to [email protected].  To check current mail queue, run this command:

/usr/sbin/postqueue -p

Your mail queue will be much shorter.

270 Responses to “Delete mail queue from or to a specific email address”

  1. Yzkgdm Says:

    vardenafil pills digoxin 250mg us cheap tizanidine 2mg


  2. Kvoxuc Says:

    aceon order fexofenadine without prescription buy allegra without a prescription


  3. Zmdorj Says:

    levitra 20mg uk order tizanidine sale buy tizanidine 2mg online cheap


  4. rv inspection service nearby Says:

    You used examples from reality to show your points, making them less complicated for readers to comprehend.


  5. Hodwxo Says:

    cheap perindopril 8mg buy generic clarinex for sale buy allegra 120mg sale


  6. rv repair shop agoura hills california Says:

    The material on this site is unbelievably interesting and informative.


  7. Otqsxz Says:

    phenytoin 100 mg us cyclobenzaprine 15mg ca buy cheap ditropan


  8. Ghsjjf Says:

    dilantin 100 mg uk buy flexeril pills for sale oxybutynin 5mg pills


  9. Xemaji Says:

    order generic loratadine order altace generic buy dapoxetine 90mg for sale


  10. Klzopu Says:

    purchase baclofen online order baclofen 10mg without prescription buy cheap generic ketorolac


  11. Rbnjlf Says:

    order generic loratadine order claritin 10mg without prescription generic priligy


  12. Kchxhh Says:

    buy generic baclofen ketorolac for sale order toradol 10mg sale


  13. Millard Bainey Says:

    You have a terrific feeling of design and style! I can constantly trust you to be there for me.


  14. Carter Vanhook Says:

    This site provides a terrific resource of info for individuals that want to find out more about the subjects covered right here.


  15. Ifyavb Says:

    purchase lioresal generic buy toradol 10mg sale buy toradol 10mg


  16. Xzjzdf Says:

    ozobax for sale ketorolac ca buy ketorolac online


  17. Denisse Alcivar Says:

    Your life will never ever coincide after this!


  18. Vaaune Says:

    glimepiride ca arcoxia 60mg canada order arcoxia sale


  19. Tpfsic Says:

    glimepiride usa cytotec 200mcg without prescription etoricoxib 60mg drug


  20. Tbvkqr Says:

    alendronate pills nitrofurantoin 100 mg ca buy nitrofurantoin pill


Leave a Reply