check_mailq usage

Steve Shipway s.shipway at auckland.ac.nz
Tue Apr 27 00:12:46 CEST 2004


>kollasch.drew at bvrmc.org wrote:
>
>>1. I use postfix
>>2. I'm on gentoo linux
>>3. mail in queue is actually stored in /var/spool/postfix/ (with LOTS 
>>of sub-dirs under it)

I've written a whole new check_mailq for postfix here, since it holds the
data in a much different way.  forking off to /usr/bin/mailq is much slower
since it extracts lots of information about the mails, where we only want to
count them (ie, count the entries in the directories and sum).

Our mailq is normally in the 8000-10000 range, and it works well.  Email me
if you are perl-aware and want a copy (it's a bit rough to put on public
release)

Steve

---
Steve Shipway: ITSS, University of Auckland
Email: s.shipway at auckland.ac.nz  Web: http://www.steveshipway.org/  
** We can only discover new oceans when we have the **
** courage to lose sight of the shore.              **
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Steve Shipway.vcf
Type: text/x-vcard
Size: 154 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040427/853b9706/attachment.vcf>


More information about the Users mailing list