[Dovecot] How can I put a file back in Maildir folder?
Eduardo M KALINOWSKI
eduardo at kalinowski.com.br
Sat May 23 17:25:15 EEST 2009
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 at kalinowski.com.br
More information about the dovecot
mailing list