Bug 123362

Summary: Kmailrc is broken after *every* application exit
Product: [Applications] kmail Reporter: Samuel O <kde>
Component: IMAPAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WAITINGFORINFO    
Severity: normal CC: bjoern, ibc
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Samuel O 2006-03-10 03:42:04 UTC
Version:           KMail 1.9.1 (Using KDE 3.5.1-2.3 Red Hat) (using KDE KDE 3.5.1)
Installed from:    Fedora RPMs
Compiler:          gcc version 4.1.0 20060304 (Red Hat 4.1.0-2) 
OS:                Linux

Each time when I start up Kmail the kmailrc has been resaved after exit and the Contacts section is broken.  I am using IMAP and soap to connect to a Novel Groupwise system.  It is a fairly easy problem to resolve, as I manually edit the kmailrc file as follows:

--- /home/xxx/.kde/share/config/kmailrc.orig 2006-03-09 21:37:27.000000000 -0500
+++ /home/xxx/.kde/share/config/kmailrc      2006-03-09 21:37:38.000000000 -0500
@@ -1171,25 +1171,25 @@

 [Folder-.7611885.directory/Contacts]
 Annotation-FolderType=
 AnnotationFolderTypeChanged=true
 Compactable=true
 ContentsType=2
 ExpireAction=Delete
 ExpireMessages=false
 ExpireToFolder=
 Id=1961356080
 Identity=0
 IgnoreNewMail=false
-ImapPath=
+ImapPath=/Contacts/
 IncidencesFor=admins

If I do not do this edit I get the following error:

# Error while uploading folder
# Could not make the folder Contacts on the server.
# This could be because you do not have permission to do this, or because the folder is already present on the server; the error message from the server communication is here:
# Could Not Create Folder
# An attempt to create the requested folder failed.
# Details of the request:
# URL: (unknown)
# Date and time: Thursday 09 March 2006 21:31
# Additional information: imap://soosterhuis@xxx.xxx.xxx.xxx:143/Contacts/
# Possible causes:
# Your access permissions may be inadequate to perform the requested operation on this resource.
# The location where the folder was to be created may not exist.
# A protocol error or incompatibility may have occurred.
# Possible solutions:
# Retry the request.
# Check your access permissions on this resource.
#
Comment 1 Samuel O 2006-03-16 13:46:13 UTC
Here is some additional information about the issue:
It seems that after exiting kmail, the entire Contacts section is missing.  (I checked the kmailrc.) Attempting to load kmail gives an error indicating that the Contacts section is missing and will be created.  On acknowledging that dialogue, the other one appears indicating that there is an error uploading the Folder.

At this point if I quit, and edit the kmailrc, the Contacts section is back, but the ImapPath line does not indicate the correct patch as shown above.

The next day when I log back into my account, I have to go through the whole procedure again....
Comment 2 Thomas McGuire 2007-04-03 20:57:12 UTC
*** Bug 143790 has been marked as a duplicate of this bug. ***
Comment 3 Björn Ruberg 2009-12-25 18:47:07 UTC
Is this still a problem in a recent kmail version?