Allan Cassaro
2009-May-23 14:05 UTC
[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!
Eduardo M KALINOWSKI
2009-May-23 14:25 UTC
[Dovecot] How can I put a file back in Maildir folder?
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