Bug 123362 - Kmailrc is broken after *every* application exit
Summary: Kmailrc is broken after *every* application exit
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kmail
Classification: Applications
Component: IMAP (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 143790 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-10 03:42 UTC by Samuel O
Modified: 2009-12-25 18:47 UTC (History)
2 users (show)

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 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?