Stephen Lidie
2014-Dec-08 22:25 UTC
devoid mailbox status for mail reloaded from a tape backup
dovecot --version 2.2.10 I've only be able to status a mailbox for currently existing users, is it possible to status a mailbox reloaded from tape to an alternate location? The user may or may not exist at this time, but I still need to inspect the mailbox ... thank you, Steve
Stephen Lidie
2014-Dec-08 22:29 UTC
devoid mailbox status for mail reloaded from a tape backup
> On Dec 8, 2014, at 5:25 PM, Stephen Lidie <sol0 at lehigh.edu> wrote: > > dovecot --version > 2.2.10 > > I've only be able to status a mailbox for currently existing users, is it possible to status a mailbox reloaded from tape to an alternate location? The user may or may not exist at this time, but I still need to inspect the mailbox ... thank you, > > Steve1) subject should read "doveadm mailbox status" 2) to clarify, something like an alternate source, as with "doveadm import".
Steffen Kaiser
2014-Dec-09 07:34 UTC
devoid mailbox status for mail reloaded from a tape backup
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 8 Dec 2014, Stephen Lidie wrote:> I've only be able to status a mailbox for currently existing users, is > it possible to status a mailbox reloaded from tape to an alternate > location? The user may or may not exist at this time, but I still need > to inspect the mailbox ... thank you,yes - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBVIal9Hz1H7kL/d9rAQIFOQf/RhmEWkElrFpbPcEZ9fkKj9B0jlGqzWDO t8nP2jC6Bza5zrRs+se5LmJhB32WIFU5vycv+XpdL3ucsumpZt2c1zDfG+3EqY1U Tu34xSNDdtjxwZunQDv61llzmQRhAYmJV8VhZq6NWiz2qH16rr9b6JgR7mG9sSFw dYFgMmqMxwK4csSi9u1SSSH8WUV3fNw9DdjQ1094DiPAEJba+WoSJA3tzBGW7Wu5 iZ6TyHSYxKnEjhcjWObZ20TtvhRmUxvxj7Q0f4U+H5+cJoUlXmakg9oar3hayKG2 LYflvKCZEObI0ZZK48sj9tyFb5bhKQ0b+twmfjfholmBoHURcxhOwQ==OTJZ -----END PGP SIGNATURE-----
Stephen Lidie
2014-Dec-09 10:42 UTC
devoid mailbox status for mail reloaded from a tape backup
> On Dec 9, 2014, at 2:34 AM, Steffen Kaiser <skdovecot at smail.inf.fh-brs.de> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Mon, 8 Dec 2014, Stephen Lidie wrote: > >> I've only be able to status a mailbox for currently existing users, is it possible to status a mailbox reloaded from tape to an alternate location? The user may or may not exist at this time, but I still need to inspect the mailbox ... thank you, > > yes >:) Well, although I am able to issue a mailbox status command regardless, the implication was that the command displayed an empty string (nothing useful), and thus a working example using files not in the locations specified by mail_location would be useful. In my configuration mail_locations is defined as: mail_location = mdbox:~/mail:INDEX=/var/dovecot/index/%u So a command of the form ?doveadm mailbox status -u userName all INBOX? uses mail_location as defined in dovecot.conf to locate the mail and index files, and displays appropriate information about the specified user?s INBOX. If I have mail and index files in an alternate location - restored from a backup tape for example - how do I obtain data such as unseen, message count, vsize, etc about mailboxes residing at that alternate location, a location not pointed to by mail_location? As I mentioned, ?doveadm import? allows one to provide an alternate source location, but ?doveadm mailbox status? does not AFAIK, thus, a sample command would be wonderful. thx/stv