show_counts()
{
        count_users();
        count_aliases();
        count_forwards();
        count_autoresponders();
        count_mailinglists();

        fprintf(actout, "Pop accounts   = %d<BR>\n", CurPopAccounts);
        fprintf(actout, "Aliases        = %d<BR>\n", CurAliases);
        fprintf(actout, "Forwards       = %d<BR>\n", CurForwards);
        fprintf(actout, "Autoresponders = %d<BR>\n", CurAutoResponders);
        fprintf(actout, "Mailing lists  = %d<BR>\n", CurMailingLists);

}

Clearly the function is there- I'm going to port the functions I need from 
qmailadmin and implement it into a C program linked with libvpopmail (I'd 
assume it'll be required) - prolly need to be SUID vpopmail but with some 
error checking on accepting the one input, I don't see it being too much of 
a problem.

--
Mike
_____________________________________________________________________________________
Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com

Reply via email to