Viewing Mailboxes

Janne Peltonen janne.peltonen at helsinki.fi
Mon Jan 14 05:04:19 EST 2008


On Mon, Jan 14, 2008 at 04:09:23AM -0500, Daniel Aquino wrote:
> Is there an easy way for me as an admin to look into a mailbox without
> actually having to connect with a imap client?

You can use the mbpath command on the server to see where in the file
system a given mailbox resides, for example

 mbpath user.foobar

shows you the directory that contains the mailbox user.foobar, that is,
user foobar's inbox. The messages are in there each in a separate file,
subfolders are subdirectories.

You can also use imtest if you know how to speak IMAP. :) (imtest lets
you authenticate as an admin user but use the access rights of any given
user, that is, if you use any of the sasl login mechanisms, not imap
login).

-- 
Janne Peltonen <janne.peltonen at helsinki.fi>


More information about the Info-cyrus mailing list