[Dovecot] How can I put a file back in Maildir folder?
Hi,
I have a problem: today, when I ran "fsck" some file was linked to "lost+find" folder... After some hours I has all files mapped (File / User). So... how can I put this files back in Maildir folder of this users?
I tried with: cat $file | deliver -d username
but without success...
Any help will be appreciated!
Thanks!
Allan Cassaro wrote:
Hi,
I have a problem: today, when I ran "fsck" some file was linked to "lost+find" folder... After some hours I has all files mapped (File / User). So... how can I put this files back in Maildir folder of this users?
I tried with: cat $file | deliver -d username
but without success...
Any help will be appreciated!
If it's a properly formed mail (basically headers, a blank line, and a body), you could just copy/move it to the cur/ folder of the mailbox. Dovecot will see it (and index it) next time the folder is opened.
-- The Celts invented two things, Whiskey and self-destruction.
Eduardo M KALINOWSKI eduardo@kalinowski.com.br
On Sat, May 23, 2009 at 11:25 AM, Eduardo M KALINOWSKI < eduardo@kalinowski.com.br> wrote:
Hi,
I have a problem: today, when I ran "fsck" some file was linked to "lost+find" folder... After some hours I has all files mapped (File / User). So... how can I
Allan Cassaro wrote: put
this files back in Maildir folder of this users?
I tried with: cat $file | deliver -d username
but without success...
Any help will be appreciated!
If it's a properly formed mail (basically headers, a blank line, and a body), you could just copy/move it to the cur/ folder of the mailbox. Dovecot will see it (and index it) next time the folder is opened.
OMG!!! This is so easy... and I'm trying to difficult things... :D Thank you guys! :D
Regards!
participants (2)
-
Allan Cassaro
-
Eduardo M KALINOWSKI