Watching mail queues

Dave Remien dave at IPSMART.COM
Sun May 19 22:37:18 IST 2002


After using mailscanner quite successfully for the last seven months
(thanks much, Julian and Nick and everyone!), I decided that I needed an
easier way to keep an eye on the size of /var/spool/mqueue and
/var/spool/mqueue.in than I'd been using.

So here's an X Window program (based on Jamie Zawinski's xdebt) to
(simplistically) watch the queue sizes:

  http://bamberg.scientech.com/src/xmqueue.c

or

  http://ipsmart.com/src/xmqueue.c

I use it while ssh'd (with X forwarding turned on, obviously) into the
mail server. Understands -update (seconds), -fn (font), -fg (color) and
-fg (color), among others. Helps me watch for incipient email meltdowns
(spam/virus attacks, etc.).

Hope this might be of use to others. Feedback is welcome if I've bozo'ed
something up.

Cheers,

Dave Remien



More information about the MailScanner mailing list