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

StatusDnsQueryFailed resolving domain

How to include Gmail's Feedback-ID header in DKIM signature

How to send emails over IPv4 with Postfix