Mail queue in Postfix from console
View the message queue:
[[email protected]]# mailq
The output fields of this command are:
- Message identifier in the queue, if there is a “*” after the identifier – the letter is in the active delivery queue, if the “!” – the letter is in the waiting queue and there will be no attempts to deliver it.
- The size of the message.
- Time of acceptance of the letter.
- Sender of the message.
- The command output may indicate the reason why the letter was not sent and remained in the delivery queue.
- The recipient of the message.
Delete a specific email:
[[email protected]]# postsuper -d идентификатор
Delete all emails:
[[email protected]]# postsuper -d all