I ran into this error after doing an unclean shutdown on my Thinkpad T400 running ubuntu 9.04. After restarting my machine, I was seeing errors in evolution and it was unable to load my inbox. The error was:
"Error while opening store spooldir://var/spool/mail -- database disk image is malformed."
To solve this problem, I closed Evolution and I ran the command from Olivier Berger in comment #18. After installing sqlite3, the command ran and told me that I had issues with my spool directory (duh). This helped me find the location of that folders.db file.
I first backed up this file to my desktop and then did a rm folders.db. After restarting Evolution a few times, my mail was back and everything works again.
I ran into this error after doing an unclean shutdown on my Thinkpad T400 running ubuntu 9.04. After restarting my machine, I was seeing errors in evolution and it was unable to load my inbox. The error was:
"Error while opening store spooldir: //var/spool/ mail -- database disk image is malformed."
To solve this problem, I closed Evolution and I ran the command from Olivier Berger in comment #18. After installing sqlite3, the command ran and told me that I had issues with my spool directory (duh). This helped me find the location of that folders.db file.
/home/jason/ .evolution/ mail/spooldir/ var/spool/ mail/folders. db
I first backed up this file to my desktop and then did a rm folders.db. After restarting Evolution a few times, my mail was back and everything works again.
Thanks!