On Tue, 18 Mar 2003, Michael Fair wrote: > Is there a reliable way to query the known list of users? > I thinking of big loop: > foreach $user (@users) { syncMailbox($user); }
As an admin, you can do a LIST "" "user.%", which will get you the list of user inboxes, which is probably good enough for what you are doing. > I suppose I could just use the output of saldblistusers > as STDIN input to the perl script (or the perl script > could run it directly) since that's the backend I use. > Or doing a List of the "user" folder one level deep. I'm more comfortable with using th e IMAP datastore, since that is what you are trying to replicate. -Rob -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456 Research Systems Programmer * /usr/contributed Gatekeeper