Erik van Oosten
2007-Mar-28 20:47 UTC
[Dovecot] Bug-report for rc28: Mailbox isn't a valid mbox file
Hi, When I try to open the attached mbox file I get the following warning in Thunderbird 1.5.0.10: 'The current command failed. The e-mail server responded: Mailbox isn't a valid mbox file'. I also tried this with squirrelmail, with the same result. The Dovecot version is dovecot-1.0.rc28, compiled from source. The attached mbox was correctly read from, and written to in earlier versions (either rc15 or rc22, I am not sure). The initial import was done (a long time ago) by copying a file from my Thunderbird profile directory. OS: SuSE 10.0, x86 Filesystem: ext3, (no NFS) Output of dovecot -n: ------------------------------------ # /usr/local/etc/dovecot.conf disable_plaintext_auth: no login_dir: /usr/local/var/run/dovecot/login login_executable: /usr/local/libexec/dovecot/imap-login mail_location: mbox:~/mail:INBOX=/var/spool/mail/%u auth default: passdb: driver: pam userdb: driver: passwd ------------------------------------- Can I somehow recover the data in this mbox? Regards, Erik. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ -------------- next part -------------- A non-text attachment was scrubbed... Name: Greenwheels.zip Type: application/x-zip-compressed Size: 33327 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20070328/1055d3d5/attachment-0002.bin>
Timo Sirainen
2007-Mar-28 21:17 UTC
[Dovecot] Bug-report for rc28: Mailbox isn't a valid mbox file
On 28.3.2007, at 23.47, Erik van Oosten wrote:> When I try to open the attached mbox file I get the following > warning in Thunderbird 1.5.0.10: > 'The current command failed. The e-mail server responded: Mailbox > isn't a valid mbox file'.You have an extra empty line at the beginning of the file. Remove it and it should work. Dovecot 0.99.x used to have problems with mboxes and it left these extra linefeeds. It shoudn't be a problem anymore with 1.0rcs. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070329/9d1607ed/attachment.bin>