[Dovecot] restored mails

Steffen skdovecot at smail.inf.fh-brs.de
Wed Jan 15 16:29:55 EET 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Wojciech Giel wrote:
> Hello, I am running dovecot 2.1 on debian wheezy . We are using 
> maildir format.  one of our uses deleted content of INBOX folder 
> during xmass. he wants these messages back. I had these mail on 
> tape. I have restored them to his inbox/cur directory but dovecot 
> is not indexing them. Email client shows empty inbox as well.
> tried manually run:
> 
> doveadm index -u john -q INBOX no change. deleting indexes didn't 
> help.
> 
> How to restore these email?

see Oli's advice.
Does the user get new mail?
Maybe you need to touch the "cur" directory to indicate to Dovecot
that an external program changed its content.
You could try to create yet another mailbox and move the files there,
better: prepare everything outside the Maildir dir, then move the
top-directory of the new mailbox in place.

- -- 
Steffen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEVAwUBUtabY3D1/YhP6VMHAQIc+ggApxc4WV+WP+VdV5eQXCBXMaM3zqNJZWV5
y0xBqbGqQp2kvcGqdq1l/KlyVp06s4zQE45lPz3pt7suU9HIImOBps9aSC7jafIN
tJXyn9ym2a0RhyAkOZUzN6SN0hajgpe3/EiUfoxf4VjRAL4lmW42CTHzBR1KyYHn
PxD25MLv7Vft7s4akwNQz9G8yAlqPnYvlabMHdxsS6s7rS879wWoJo0xRWifq3SI
mRqXYIj6nypCSVse/XhB70E/ooIQlBNzgUe6Yt10UbLPKMFd5MO4f73Tbiw1HSV6
IvXDraF3vHQlfISfD6IuGbX9desYSok97NT3U0RE0ReUZ6KXl9L7QQ==
=xQDQ
-----END PGP SIGNATURE-----


More information about the dovecot mailing list