HI, I recently upgraded an wu-imap server to dovecot dovecot-0.99.11-1.FC3.3 without big trouble (the subscribed mailboxes had to be added by hand...) But today users told me that there where some problems; e.g. a user tried to delete a message and got this error: Oct 19 09:43:13 mail imap(jmeinken): File isn't in mbox format: /home/mitarbeiter/jmeinken//Trash This didn't happen before; also after the migration. My questions: - Whats wrong? - Why is there the "//" a "more Trash" failed. After deleting this file and "touching" a new one, the user can delete files. The quota is 150 MB, the usere uses 100 MB at the moment. Any ideas? Regards G?tz Reinicke -- G?tz Reinicke IT Koordinator - IT OfficeNet Tel. +49 (0) 7141 - 969 420 Fax +49 (0) 7141 - 969 55 420 goetz.reinicke at filmakademie.de Filmakademie Baden-W?rttemberg Mathildenstr. 20 71638 Ludwigsburg www.filmakademie.de
On 19.10.2004, at 10:51, G?tz Reinicke wrote:> But today users told me that there where some problems; e.g. a user > tried to delete a message and got this error: > > Oct 19 09:43:13 mail imap(jmeinken): File isn't in mbox format: > /home/mitarbeiter/jmeinken//TrashThe mbox probably has an extra empty line at the beginning of it. Dovecot sometimes does that and then breaks itself. If this happens often, I'd suggest trying 1.0-tests which have rewritten mbox code.> - Why is there the "//"You've probably set default_mail_env = mbox:~/ or something similiar. Remove the extra / from there. -------------- 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/20041019/281dcec8/attachment-0001.bin>
Timo Sirainen wrote:> On 19.10.2004, at 10:51, G?tz Reinicke wrote: > >> But today users told me that there where some problems; e.g. a user >> tried to delete a message and got this error: >> >> Oct 19 09:43:13 mail imap(jmeinken): File isn't in mbox format: >> /home/mitarbeiter/jmeinken//Trash > > > The mbox probably has an extra empty line at the beginning of it. > Dovecot sometimes does that and then breaks itself. If this happens > often, I'd suggest trying 1.0-tests which have rewritten mbox code.This sounds not a good idea to me, to use a testsoftware on a production mailserver with 500 Users... :-| Regards G?tz Reinicke -- G?tz Reinicke IT Koordinator - IT OfficeNet Tel. +49 (0) 7141 - 969 420 Fax +49 (0) 7141 - 969 55 420 goetz.reinicke at filmakademie.de Filmakademie Baden-W?rttemberg Mathildenstr. 20 71638 Ludwigsburg www.filmakademie.de
Timo Sirainen wrote: <..>>> - Why is there the "//" > > > You've probably set default_mail_env = mbox:~/ or something similiar. > Remove the extra / from there > .This is a very bad idea also :-( I removed the / and no! user was able to connect to his folders anymore! After editing default_mail_env again to mbox:~/, all folders are back online.... G?tz Reinicke -- G?tz Reinicke IT Koordinator - IT OfficeNet Tel. +49 (0) 7141 - 969 420 Fax +49 (0) 7141 - 969 55 420 goetz.reinicke at filmakademie.de Filmakademie Baden-W?rttemberg Mathildenstr. 20 71638 Ludwigsburg www.filmakademie.de
Am 19.10.2004 um 9:51 Uhr +0200 schrieb G?tz Reinicke:>But today users told me that there where some problems; e.g. a user >tried to delete a message and got this error: > >Oct 19 09:43:13 mail imap(jmeinken): File isn't in mbox format: >/home/mitarbeiter/jmeinken//Trash > >This didn't happen before; also after the migration. > >My questions: >- Whats wrong? >- Why is there the "//" > >a "more Trash" failed.In what way?>After deleting this file and "touching" a new one, the user can delete files.I've seen that twice so far with 0.99.11 / mbox: Windows clients, Mozilla 1.7.x, User reports "cannot delet file". In both cases the Trash file contained junk chars at the beginning - no conversion involved, the accounts were used for months. A 'cat /dev/null >! Trash' fixed the problem, fortunately it was only the trash. hauke -- /~\ The ASCII Ribbon Campaign Hauke Fath \ / No HTML/RTF in email Institut f?r Nachrichtentechnik X No Word docs in email TU Darmstadt / \ Respect for open standards Ruf +49-6151-16-3281