Linux 4 All

Best Linux tricks source

Get mail queue

When dealing with mail issues, the following one-liner will display all Postfix mail IDs from the queue.

postqueue -p | egrep -v ^[[:space:]] | grep -v ^$ | awk '{print $1}' | grep -v ^\( | grep -v ^\- | sed -e 's/\*//g'

How to enable real IP Apache error_log behind Load Balancer arrow-right
Next post

arrow-left Get MySQL InnoDB tables
Previous post

Leave a Reply

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