How to check Postfix queue size or find the count of messages in queue

article1
mailq | grep -c "^[A-Z0-9]"

You can also grep the last line :

mailq | tail -1

Comments

Popular posts from this blog

How to enable inbound TLS(starttls) in Postfix with Signed Certificate from CA(LetsEncrypt)

421 4.5.1 No more messages on this connection http://tele.dk/25153