Re: Fwd: Re: KMail Folder Disappeared!?!?! -- Index Recreation
Quit kmail, delete the index files, i.e rm ~/Mail/.Data.index*, and restart kmail and it should reappear. Nick I tried the above and did not work in my case. After much work I gave up, deleted ~/.kde/config/apps/kmailrc and began again. All of my email directories were recreated except for my Data dir. Now I assume that something has been changed about the file. Can anyone give me a way to recover a maildir into KMail? -- -rw---1 oracle oracle 3022742791 2002-10-20 20:12 Data the mail is in a mbox file not a maildir so options are you can go through it by hand looking for the problem I did a 'apt-cache search mbox' and there are a few that might help 'mail-expire' looks interesting mail-expire is a small and fast script that scans mbox files for messages that are older than given maximum age and moves them to another (compressed) mailbox file or just deletes them. you could get to move all mail more than day old to a new mbox and then uncompress it and try that Nick
Re: KMail Folder Disappeared!?!?!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 22 October 2002 2:03 am, Oracle Administrator wrote: KMail is set to use store mail in directories (maildir files). The maildir file the corresponds to the 'vanished' directory exists and can be cat'ed to view the contents. From this, I reason that the maildir file needs to be imported back into KMail to restore the directory. Maildir's are real directories not single files. Single files are generally in the mbox format. kmail automatically adds in index to the mbox files if they don't exist. If they do exist and are wrong - that may be the cause of the problem. The indexes are called .folder name.index (note the . at the front - which generally makes them hidden - you need to do an ls -a on the directory to see them. - -- Alan Chandler [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) iD8DBQE9tPLmuFHxcV2FFoIRAjcMAKC2zeQxMqyBrQyecC7wUEvYziYEdACfZGRA TxkOtc2MQwmpSNE9FoIE9zM= =/Dgz -END PGP SIGNATURE-
Fwd: Re: KMail Folder Disappeared!?!?! -- Index Recreation
-- Forwarded Message -- Subject: Re: KMail Folder Disappeared!?!?! -- Index Recreation Date: Tuesday 22 October 2002 09:38 pm From: Oracle Administrator [EMAIL PROTECTED] To: Nick Sanders [EMAIL PROTECTED] On Tuesday 22 October 2002 05:25 pm, Nick Sanders wrote: SNIP Quit kmail, delete the index files, i.e rm ~/Mail/.Data.index*, and restart kmail and it should reappear. Nick I tried the above and did not work in my case. After much work I gave up, deleted ~/.kde/config/apps/kmailrc and began again. All of my email directories were recreated except for my Data dir. Now I assume that something has been changed about the file. Can anyone give me a way to recover a maildir into KMail? -- Comments are most appreciated, Bob --- -- Comments are most appreciated, Bob
Re: KMail Folder Disappeared!?!?!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 21 October 2002 1:47 am, Oracle Administrator wrote: One of my folders had about 4500 messages in it and suddenly disappeared this afternoon. I question that is truly vanished because when I try to recreate the folder the attempt fails. A dialog appears that tells me I do not have sufficient permissions to complete the operation. I suspect that it may simply not be shown in my folder list. Any ideas? So in ~/Mail what are the permissions on the files (if mbox) or directories (if maildir) [and what are the permisssions on ~/Mail itself - -- Alan Chandler [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) iD8DBQE9s5hGuFHxcV2FFoIRAqMxAJ40ljfF3LY+gqQFIYuHvb1A0HSgDwCdFvG6 4LK7aA/sNFZq+hocare3YEI= =bz02 -END PGP SIGNATURE-
Re: KMail Folder Disappeared!?!?!
On Monday 21 October 2002 06:00 pm, Alan Chandler wrote: So in ~/Mail what are the permissions on the files (if mbox) or directories (if maildir) [and what are the permisssions on ~/Mail itself drwx--S---4 oracle oracle 4096 2002-10-21 17:34 Mail -rw---1 oracle oracle 3022742791 2002-10-20 20:12 Data I don't have an Oracle database installed. The user is called 'oracle' as I will install Oracle with the user oracle as the dba. KMail is set to use store mail in directories (maildir files). The maildir file the corresponds to the 'vanished' directory exists and can be cat'ed to view the contents. From this, I reason that the maildir file needs to be imported back into KMail to restore the directory. -- Comments and information are appreciated. Robert