On Tue, Sep 29, 2009 at 10:55:32PM +0200, Len Conrad wrote:
> here's mine, very fast with "find":
>
> #!/bin/sh
>
> for Q in incoming active deferred hold
> do
> SIZE=`find /mail/spool/postfix/$Q -maxdepth 5 -type f | wc -l | tr -d ' '`
> dd if=/dev/zero bs=1 count=$SIZE of=/var/db/postfix/q_siz
>2009/9/30 Scott Miller :
>> In case anyone is interested, I've attached a working Postfix Mail Queue
>> Monitor for nagios - It's working for me as is, but if anyone has any
>> suggested modifications I'd be glad to look at them.
>
>We do something like
2009/9/30 Scott Miller :
> In case anyone is interested, I've attached a working Postfix Mail Queue
> Monitor for nagios - It's working for me as is, but if anyone has any
> suggested modifications I'd be glad to look at them.
We do something like this where I work, a
In case anyone is interested, I've attached a working Postfix Mail Queue
Monitor for nagios - It's working for me as is, but if anyone has any
suggested modifications I'd be glad to look at them.
Thanks,
Scott Miller
#! /usr/bin/perl -w
# Copyright (c) 2002 Oregon State Unive