I've zapped the duplicated code in the four daemon mains and created a new file called serverparent.c that handles the getopt code, the usage help, and starting up the dropped privilege server.
Requires an autoreconf to pick up the changes to Makefile.am. I've added a feature to dump the scoreboard state to /var/run/dbmail-[service].state. As children are created or reaped, the scoreboard is updated. It is not updated every time a client connects or disconnects (I think that would hurt performance (?)). To get current information, do this: kill -USR1 `cat /var/run/dbmail-[service].pid` A dbmail-top utility written in ncurses is in the works, but I expect that we'll have 2.2 out before I'm done with it. So here's the base functionality, and I'll leave it up to others to write scripts that hit the daemons with SIGUSR1 and scrape the state files to see how many connections are active :-) Aaron
