A server that I'm helping to administrate had a severe file system problem and now there's a lot of files inside the /lost+found
directory. I'd like to find the user@example.com
's received and sent mail boxes. We're using Maildir email format, Postfix as MTA and Dovecot as POP3/IMAP server on a Debian Squeeze.
I've already tried
grep -r ".*user.*"
and
grep -r ".*From: \"John Doe.*"
The majority of the results where files like 1412216683.V804I9e3a201M324743.example
inside directories like Maildir10805257/new/
. Since there are many different Maildir/new
directories, I'd like to know if there's a specific one that is the user@example.com
mailbox and if so, if someone knows a better way to find it. Otherwise, are his remaining messages spread all around these directories?