Counting mail accounts on a system

Kihara Muriithi william.muriithi-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Thu Jan 4 07:25:36 UTC 2007


Hi,
 Lets say I need to need to know how many mail accounts exist on  system,
how would you do about it? I am thinking of counting directories under
/var/spool/mail, but I am not sure if the directory exist after popping all
mails. Counting accounts on the system would also not be accurate, since
that would include ftp, http users, who just exist virtually. Any suggestion
may be appreciated.

Thanks
William
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/legacy/attachments/20070104/ca16ea94/attachment.html>


More information about the Legacy mailing list