Bug 57790 - Cannot create file ".mailboxlist" or ".mlbxlsttmp" upon startup
Summary: Cannot create file ".mailboxlist" or ".mlbxlsttmp" upon startup
Status: RESOLVED DUPLICATE of bug 45773
Alias: None
Product: kmail
Classification: Applications
Component: IMAP (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-28 03:11 UTC by rookkey
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rookkey 2003-04-28 03:11:28 UTC
Version:           1.5 and CVS HEAD (using KDE Devel)
Installed from:    Compiled sources
Compiler:          GCC version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk) 
OS:          Linux

I have a mail account on an IMAP server.  The name of the SMTP server I use to send mail is identical to the server name of the IMAP server.

When launching KMail, the entire GUI of KMail displays and then an Information dialog box pops up with the following message:

"Error while creating file .mailboxlist: File exists"

After clicking OK in this dialog box, another one appears with the following message:

"Error while creating file .mlbxlsttmp: File exists"

After clicking OK in this dialog box no other errors occur and KMail performs fine without any apparent problems.

No files named .mailboxlist or .mlbxlsttmp exist on my system.  I have read that these files may exist on the mail servers themselves.  However, I am able to read my IMAP mail in many email clients on multiple operating systems without problems.

The same problem occurs in both the version 1.5 of KMail distributed with Mandrake Linux 9.1 and KMail compiled from CVS HEAD.  You can reproduce the problem by restarting KMail.

Here is the full output sent to the console:

[rookkey@localhost kdepim]$ kmail
libkdenetwork: creating new pgp object
libkdenetwork: Kpgp: gpg found
kmail: No Qt-native utf-7 codec found; registering QUtf7Codec from libkdenetwork
kmail: instantating IdentityManager
kmail: KMIdentity::readConfig(): UOID = 0 for identity named "Default"
kmail: pPopFilter set
kmail: KMKernel::openReader called
kio (KSycoca): Trying to open ksycoca from /var/tmp/kdecache-rookkey/ksycoca
kmail: set Msg, force = true
khtml (part): DONE: 85
kmail: KMAIL_DEBUG_READER_CRYPTO = FALSE
kdecore (KAction): WARNING: KAction::insertKAccel( kaccel = 0x8412a70 ): KAccel object already contains an action name "message_forward_as_attachment"
kdecore (KAction): WARNING: KAction::insertKAccel( kaccel = 0x8412a70 ): KAccel object already contains an action name "message_forward_as_attachment"
kdecore (KAction): WARNING: KAction::insertKAccel( kaccel = 0x8412a70 ): KAccel object already contains an action name "message_forward_inline"
kdecore (KAction): WARNING: KAction::insertKAccel( kaccel = 0x8412a70 ): KAccel object already contains an action name "message_forward_inline"
kmail: enable progress
kmail: set Msg, force = true
khtml (part): DONE: 2
kmail: set Msg, force = true
khtml (part): DONE: 2
kmail: setupSystray called
[rookkey@localhost kdepim]$ kmail: Deleting information about folder .Colorado.directory/.mailboxlist
kmail: Deleting information about folder .Colorado.directory/.mlbxlsttmp
kmail: set Msg, force = true
khtml (part): DONE: 20
kmail: set Msg, force = true
khtml (part): DONE: 3
kmail: Creating folder .mailboxlist
kmail: KMFolderMbox::create call to access function failed.
kmail: File::
kmail: Error
kmail: can't create folder .mailboxlist
kmail: Creating folder .mlbxlsttmp
kmail: KMFolderMbox::create call to access function failed.
kmail: File::
kmail: Error
kmail: KDE detected X Error: BadMatch (invalid parameter attributes) \x08
  Major opcode:  *
kmail: can't create folder .mlbxlsttmp
Comment 1 Ingo Klöcker 2003-05-02 22:02:39 UTC
Subject: Re:  New: Cannot create file ".mailboxlist" or ".mlbxlsttmp" upon startup

Which IMAP server are you using?

Please search the file .mailboxlist in your home directory with 'find . 
-name .mailboxlist'.

Comment 2 rookkey 2003-05-03 02:33:31 UTC
The IMAP server I connect to is: "mail.colorado.edu". 
 
Here are some results from searching my home directory for files with "mailbox" and "mlbx" 
in their names: 
 
[rookkey@localhost rookkey]$ find . -regex ".*mailboxlist.*"; find . -regex ".*mlbx.*" 
./.kde/share/apps/kmail/imap/.Colorado.directory/..mailboxlist 
./.kde/share/apps/kmail/imap/.Colorado.directory/...mailboxlist.index 
./.kde/share/apps/kmail/imap/.Colorado.directory/...mailboxlist.index.ids 
./.kde/share/apps/kmail/imap/.Colorado.directory/..mlbxlsttmp 
./.kde/share/apps/kmail/imap/.Colorado.directory/...mlbxlsttmp.index 
./.kde/share/apps/kmail/imap/.Colorado.directory/...mlbxlsttmp.index.ids 
 
I assume these files should not have two or three prepended dots ("..") in their names. 
 
To explore the issue some more, I removed all the files listed above and ensured that I did 
not have any "..mailboxlist" or "..mlbxlsttmp" files in the directory.  I restarted KMail, and 
this time no error dialogs appeared. 
 
However, KMail created the following files when I restarted: 
 
./.kde/share/apps/kmail/imap/.Colorado.directory/..mailboxlist 
./.kde/share/apps/kmail/imap/.Colorado.directory/...mailboxlist.index 
./.kde/share/apps/kmail/imap/.Colorado.directory/...mailboxlist.index.ids 
./.kde/share/apps/kmail/imap/.Colorado.directory/..mlbxlsttmp 
./.kde/share/apps/kmail/imap/.Colorado.directory/...mlbxlsttmp.index 
./.kde/share/apps/kmail/imap/.Colorado.directory/...mlbxlsttmp.index.ids 
 
I closed KMail and restarted it.  Both error messages mentioned in my opening comment 
start appearing again everytime I launch KMail. 
Comment 3 Till Adam 2003-10-13 18:47:11 UTC

*** This bug has been marked as a duplicate of 45773 ***