[Dovecot] File isn't in mbox format - error
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@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//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.
- Why is there the "//"
You've probably set default_mail_env = mbox:~/ or something similiar. Remove the extra / from there.
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@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@filmakademie.de
Filmakademie Baden-Württemberg Mathildenstr. 20 71638 Ludwigsburg www.filmakademie.de
On 19.10.2004, at 15:50, Götz Reinicke 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....
Yes, could be. %h would though. I guess I could fix plain ~ to work as well..
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
participants (3)
-
Götz Reinicke
-
Hauke Fath
-
Timo Sirainen