[Dovecot] Restoring individual messages from a backup into a Maildir setup?

2009-01-08 Thread Thomas Harold
We have a user who deleted IMAP folders from his account, so I simply tried to restore the folder .FolderName from our backup. I checked that file/folder ownership was the same as the original, but the Dovecot IMAP server is throwing errors at the client. I've tried copying the individual

Re: [Dovecot] Restoring individual messages from a backup into a Maildir setup?

2009-01-08 Thread Timo Sirainen
On Thu, 2009-01-08 at 15:36 -0500, Thomas Harold wrote: We have a user who deleted IMAP folders from his account, so I simply tried to restore the folder .FolderName from our backup. I checked that file/folder ownership was the same as the original, but the Dovecot IMAP server is throwing

Re: [Dovecot] Restoring individual messages from a backup into a Maildir setup?

2009-01-08 Thread Thomas Harold
Timo Sirainen wrote: On Thu, 2009-01-08 at 15:36 -0500, Thomas Harold wrote: We have a user who deleted IMAP folders from his account, so I simply tried to restore the folder .FolderName from our backup. I checked that file/folder ownership was the same as the original, but the Dovecot IMAP

Re: [Dovecot] Restoring individual messages from a backup into a Maildir setup?

2009-01-08 Thread Timo Sirainen
On Thu, 2009-01-08 at 16:35 -0500, Thomas Harold wrote: What was it logging? I think it should have clearly said there about permission errors. Oh, all sorts of errors in /var/log/messages: Jan 8 14:48:59 fvs-pri setroubleshoot: SELinux is preventing access to files with the label,

Re: [Dovecot] Restoring individual messages from a backup into a Maildir setup?

2009-01-08 Thread Thomas Harold
Timo Sirainen wrote: On Thu, 2009-01-08 at 16:35 -0500, Thomas Harold wrote: What was it logging? I think it should have clearly said there about permission errors. Oh, all sorts of errors in /var/log/messages: Jan 8 14:48:59 fvs-pri setroubleshoot: SELinux is preventing access to files

Re: [Dovecot] Restoring individual messages from a backup into a Maildir setup?

2009-01-08 Thread Timo Sirainen
On Thu, 2009-01-08 at 17:02 -0500, Thomas Harold wrote: My first inclination was to look at the dovecot-deliver.log file (per log_path or info_log_path). It wasn't until I went looking for SELinux errors that I discovered that it was a labeling problem. That's what I meant, did

Re: [Dovecot] Restoring individual messages from a backup into a Maildir setup?

2009-01-08 Thread Thomas Harold
Timo Sirainen wrote: They get logged to syslog, which probably goes to mail.log or something like that. Got it, buried in among the postfix log information in our maillog. Jan 8 14:48:36 fvs-pri dovecot: IMAP(fr...@nybeta.com):