From d020f29b341cbd0c512a675dd3df4772ec773413 Mon Sep 17 00:00:00 2001 From: cn Date: Sat, 24 Dec 2011 12:16:55 +0100 Subject: [PATCH] Redefine graph meanings Now there are incomming and outgoing graphs form the point of view of the server admin not the postfix service (where everything entering postfix - even from local sendmail(1) command - is incomming etc). --- postfix_mailqueue | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/postfix_mailqueue b/postfix_mailqueue index de08d04..882e2ee 100755 --- a/postfix_mailqueue +++ b/postfix_mailqueue @@ -29,14 +29,11 @@ intervenes =item incoming -Inbound mail from the network, or mail picked up by the local -pickup(8) daemon from the maildrop directory. +Inbound mail from the network. -=item active +=item outgoing -Messages that the queue manager has opened for delivery. Only a limited number -of messages is allowed to enter the active queue (leaky bucket strategy, for a -fixed delivery rate). +Mails that are sent to the network. =item deferred @@ -104,14 +101,20 @@ case $1 in graph_title Postfix Mailqueue graph_vlabel Mails in queue graph_category postfix -active.label active +outgoing.label outgoing +outgoing.info Outbound mail to the network deferred.label deferred +deferred.info Mail queued for later delivery maildrop.label maildrop +maildrop.info Not yet picked up mail submitted via Postfix sendmail(1) command incoming.label incoming +incoming.info Inbound mail from the network corrupt.label corrupt +corrupt.info Unreadable or damaged queue files hold.label held +hold.info Messages placed in the "hold" queue awaiting administrator intervention EOF - for field in active deferred maildrop incoming corrupt hold; do + for field in outgoing deferred maildrop incoming corrupt hold; do print_warning $field print_critical $field done @@ -124,10 +127,10 @@ cd $SPOOLDIR >/dev/null 2>/dev/null || { } cat <