View and delete mail queue on Ubuntu server

Display mail queues


# or

postqueue -p

View message in the Postfix queue

postcat -vq IDXXXXXXX

Delete queued mail

postsuper -d ALL

Force process the queue now (immediately send all queued messages)

postqueue -f

# or

postfix flush

Leave a Comment

Your email address will not be published. Required fields are marked *