Mail queue length

Get the number of mails in the mailqueue.
Asumes that each line from the mailq commands starts with a message
id containing only hex characters.

[mailq_count]
command=mailq | awk '/^[A-F0-9]/' | wc -l
type=integer
result_pattern=(digit:+)
timeout=10