Delete messages in Queue

Discussion in 'Mail Gateway: Installation and configuration' started by dthompson, Oct 14, 2018.

  1. dthompson

    dthompson Member

    Joined:
    Nov 23, 2011
    Messages:
    35
    Likes Received:
    0
    I would like to know if there is a way to only delete certain messages in a queue en mass.

    I have some messages building up in the queue but I don't necessarily want to delete them all, only the ones that I know are dead and will go no where.

    Is there anyway for me to granularly delete specific emails stuck in the queue but many of them at once as opposed to deleting all the emails, including the ones I do not want to delete?
     
  2. ishan

    ishan New Member

    Joined:
    Nov 12, 2018
    Messages:
    6
    Likes Received:
    1
    You can use mailq and postsuper commands for the same. Take a look at - easyengine.io/tutorials/mail/postfix-queue/
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice