List of users on Sun ONE Messaging Server 5.2 Patch 1
Hello to everyone!
I work as MS system administrator in a company that is currently using Sun ONE Messaging Server 5.2 Patch 1 as its mail server. As my area of expertise is "MS implementation and administration" and "Cisco Networking", my knowledge of Solaris OS and SUN Messaging Server is very limited.
And now the question :) ... Can anyone point me to ways for me to list all users and information about their associated accounts on mail server?
Thanks!
MS
[493 byte] By [
MiToZ] at [2007-11-26 10:51:12]

# 1
Hi,
You can list out all the accounts on the system using the "mboxutil -a" command. If you don't have your paths set up properly the command is in the following path by default (may be different for your site):
/usr/iplanet/server5/bin/msg/admin/bin
The following is the location of the various manuals for iMS5.2:
http://docs.sun.com/app/docs/prod/9055#hic
(refer mainly to the iPlanet Messaging Server 5.2 Administrator's Guide and Reference Guide).
Regards,
Shane.
# 2
To add to what Shane told you . . .
1. Messaging 5.2p1 is VERY OLD. If this server were my responsibility, I'd apply patch 2 immediately. That's two years old. I'd begin planning for an upgrade to 6.2, as 5.2 will be End Of Support Life next year.
2. The mboxutil command Shane gives will list out each user's account details, including any folders. If you want the actual paths, too, add the -x flag to the command.
# 4
Hi,
> Thanks for your answers guys! ... it seems I wasn't
> precise about what I need in the first place :( ... I
> also need to list all e-mail addresses defined for
> every user. Is there any way to do that?
Sure, you can do that with a simple ldapsearch query e.g.
ldapsearch -h <directory server> -b <user/group base> -D "cn=directory manager" -w <directory manager password> "(&(mailhost=<mail server hostname>)(mail=*))" mail | grep "^mail:"
Regards,
Shane.