[Dovecot] dovecot user lost entire folder
Hello kind people,
OK, today is a bad day for me. A user from a clients' site called early in the morning to inform me that she lost an entire folder on thunderbird with (naturally) important stuff in it.
I am trying to find the lost folder, but there is nowhere to be found.
Any ideas would greatly appreciated.
Regards,
Spyros
"dovecot -n" :
# 1.2.16: /etc/dovecot/dovecot.conf # OS: Linux 2.6.18-194.17.4.el5 i686 CentOS release 5.5 (Final) ext3 base_dir: /var/run/dovecot/ log_path: /var/log/dovecot/dovecot.log info_log_path: /var/log/dovecot/dovecot-info.log ssl_parameters_regenerate: 48 verbose_ssl: yes login_dir: /var/run/dovecot//login login_executable: /usr/local/dovecot/libexec/dovecot/imap-login login_greeting: * Dovecot ready * login_max_processes_count: 64 mail_location: maildir:/var/MailRoot/domains/%d/%n/Maildir mail_plugins: zlib auth default: verbose: yes debug: yes debug_passwords: yes passdb: driver: passwd-file args: /etc/dovecot/passwd passdb: driver: pam userdb: driver: static args: uid=vmail gid=vmail home=/home/vmail/%u userdb: driver: passwd
"I merely function as a channel that filters music through the chaos of noise"
- Vangelis
On Mon, May 09, 2011 at 08:31:18AM +0100, Spyros Tsiolis wrote:
mail_location: maildir:/var/MailRoot/domains/%d/%n/Maildir
Did you verify in the Maildir structure for that user?
Maildir/.folder Maildir/.folder.subfolder
http://wiki.dovecot.org/MailLocation/Maildir
Regards Thomas
--- On Mon, 9/5/11, Thomas Leuxner tlx@leuxner.net wrote:
From: Thomas Leuxner tlx@leuxner.net Subject: Re: [Dovecot] dovecot user lost entire folder To: dovecot@dovecot.org Date: Monday, 9 May, 2011, 11:03 On Mon, May 09, 2011 at 08:31:18AM +0100, Spyros Tsiolis wrote:
mail_location: maildir:/var/MailRoot/domains/%d/%n/Maildir
Did you verify in the Maildir structure for that user?
Maildir/.folder Maildir/.folder.subfolder
http://wiki.dovecot.org/MailLocation/Maildir
Regards Thomas
Thomas,
Thank you kindly.
I checked all the hidden files underneath maildir:/var/MailRoot/domains/%d/%n/Maildir and coudn't find this specific folder.
Thank you again,
spyros
"I merely function as a channel that filters music through the chaos of noise"
- Vangelis
On Mon, May 09, 2011 at 09:44:46AM +0100, Spyros Tsiolis wrote:
I checked all the hidden files underneath maildir:/var/MailRoot/domains/%d/%n/Maildir and coudn't find this specific folder.
Hi Spyros,
do you happen to have a backup of the Maildir structure? You could simply restore the folder in that case to "minimize" damage. It would not tell you why/how it was deleted although.
An ACL placed on the folder may be a feasible solution for that particular user going forward...
Thomas
--- On Mon, 9/5/11, Thomas Leuxner tlx@leuxner.net wrote:
From: Thomas Leuxner tlx@leuxner.net Subject: Re: [Dovecot] dovecot user lost entire folder To: dovecot@dovecot.org Date: Monday, 9 May, 2011, 11:55 On Mon, May 09, 2011 at 09:44:46AM +0100, Spyros Tsiolis wrote:
I checked all the hidden files underneath maildir:/var/MailRoot/domains/%d/%n/Maildir and coudn't find this specific folder.
Hi Spyros,
do you happen to have a backup of the Maildir structure? You could simply restore the folder in that case to "minimize" damage. It would not tell you why/how it was deleted although.
An ACL placed on the folder may be a feasible solution for that particular user going forward...
Thomas
Hi again,
How exactly would I place an ACL ? Should I check the dovecot docs for this ?
thanks again,
s.
"I merely function as a channel that filters music through the chaos of noise"
- Vangelis
On Mon, May 09, 2011 at 10:02:06AM +0100, Spyros Tsiolis wrote:
How exactly would I place an ACL ? Should I check the dovecot docs for this ?
Following ACL should do the trick when placed in the folder:
--- [Maildir/.folder/dovecot-acl] --- owner lrwspi
This will allow adding new messages to the folder ONLY. Please be advised that you need to configure general use of ACLs first:
Thomas
Hi,
On Mon, 9 May 2011, Spyros Tsiolis wrote:
I checked all the hidden files underneath maildir:/var/MailRoot/domains/%d/%n/Maildir and coudn't find this specific folder.
Checking for specific emails could help. On the other hand, having backups handy would be nice. That would not only be helpful if the user simply deleted a folder (instead of a single email, seen that happen more than once with Outlook users), but it would also give you an idea of file names which might have accidentally be moved to another folder.
HTH...
Maarten
--- On Mon, 9/5/11, Maarten Bezemer mcbdovecot@robuust.nl wrote:
From: Maarten Bezemer mcbdovecot@robuust.nl Subject: Re: [Dovecot] dovecot user lost entire folder To: "Spyros Tsiolis" stsiol@yahoo.co.uk Cc: "Thomas Leuxner" tlx@leuxner.net, "Dovecot" dovecot@dovecot.org Date: Monday, 9 May, 2011, 11:55 Hi,
On Mon, 9 May 2011, Spyros Tsiolis wrote:
I checked all the hidden files underneath maildir:/var/MailRoot/domains/%d/%n/Maildir and coudn't find this specific folder.
Checking for specific emails could help. On the other hand, having backups handy would be nice. That would not only be helpful if the user simply deleted a folder (instead of a single email, seen that happen more than once with Outlook users), but it would also give you an idea of file names which might have accidentally be moved to another folder.
HTH...
Maarten
Hi Maarten,
that is actually what I suspect. The user is using thunderbird v1.3.10. However, I suspect that she accidentally deleted the whole folder.
I cannot deduct anything else. I ran through all possible paranoid scenarios. It doesn't make any sense.
Thank you kindly,
Spyros
"I merely function as a channel that filters music through the chaos of noise"
- Vangelis
participants (3)
-
Maarten Bezemer
-
Spyros Tsiolis
-
Thomas Leuxner