Bug 45773 - IMAP problem dot in folder name
Summary: IMAP problem dot in folder name
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: IMAP (show other bugs)
Version: 1.10.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
: 57790 228428 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-07-26 00:18 UTC by Rob Scott
Modified: 2015-04-12 09:46 UTC (History)
3 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 Rob Scott 2002-07-26 00:15:27 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kmail
Version:           1.4 (using KDE 3.0.0 )
Severity:          normal
Installed from:    Gentoo
Compiler:          gcc version 2.95.3 20010315 (release)
OS:                Linux (i686) release 2.4.18
OS/Compiler notes: 

Connecting KMail to an Exchange server with Public Folders.

A couple of the public folders have names that start with a period '.' for example '.css' and '.NET'.
These cause KMail to produce an error message and then the folders are not listed in the navigation panel.

Expected behaviour is that folders that start with '.' should be listed as any other folder. I'm assuming that KMail thinks that '.' is a special character and doesn't not escape it properly.


(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 Carsten Burghardt 2002-07-26 06:00:52 UTC
On Friday 26 July 2002 02:15 rob.scott@fathomtechnology.com wrote:
> Package: kmail
> Version: 1.4 (using KDE 3.0.0 )
> Severity: normal
> Installed from:    Gentoo
> Compiler:          gcc version 2.95.3 20010315 (release)
> OS:                Linux (i686) release 2.4.18
> OS/Compiler notes:
>
> Connecting KMail to an Exchange server with Public Folders.
>
> A couple of the public folders have names that start with a period '.' f=
or
> example '.css' and '.NET'. These cause KMail to produce an error message
> and then the folders are not listed in the navigation panel.
>
> Expected behaviour is that folders that start with '.' should be listed as
> any other folder. I'm assuming that KMail thinks that '.' is a special
> character and doesn't not escape it properly.

The expected behaviour depends on whether exchange uses "/" or "." to separ=
ate=20
the folders. Do you know which one it uses as I don't have an exchange-serv=
er=20
here? Or Michael?
Perhaps I can organize an exchange-server at work than we could test that=
=20
Mickey Mouse stuff.

--=20
Regards

Carsten Burghardt
Comment 2 Michael H 2002-07-26 06:19:42 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 26 July 2002 08:00 Carsten Burghardt wrote:
> >
> > A couple of the public folders have names that start with a period '.'
> > for example '.css' and '.NET'. These cause KMail to produce an error
> > message and then the folders are not listed in the navigation panel.

Would be nice to know what error message.

> > Expected behaviour is that folders that start with '.' should be listed
> > as any other folder. I'm assuming that KMail thinks that '.' is a special
> > character and doesn't not escape it properly.

You have to enable the feature to display hidden folders in KMail's account 
configuration to see folders that start with a dot because filenames that 
start with a dot are usually meant to be hidden files on a unix file system.

> The expected behaviour depends on whether exchange uses "/" or "." to
> separate the folders. Do you know which one it uses as I don't have an
> exchange-server here? Or Michael?
> Perhaps I can organize an exchange-server at work than we could test that
> Mickey Mouse stuff.

As far as I remember it uses "\" for private folders but that might be 
different for public folders.

Regards
Michael Häckel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9QOoBe9KEPyN2R8URArzxAJoCrdlOYecy3AWms0rCGMbJLplU4gCeP32N
xhXKuRTa3Gh2Ja09z0eb5Dw=
=lixI
-----END PGP SIGNATURE-----
Comment 3 Rob Scott 2002-07-26 12:07:14 UTC
This is a multi-part message in MIME format.

------_=_NextPart_001_01C2349C.FA6AEA08
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Here is a list of my folder space passwords and machine names munged:

* OK Microsoft Exchange 2000 IMAP4rev1 server version 6.0.5762.3 (*********=
*.FATHOM
TECHNOLOGY.COM) ready.
a001 LOGIN rob.scott *************
a001 OK LOGIN completed.
a001 LIST "" "*"
* LIST (\HasNoChildren) "/" Outbox
* LIST (\HasNoChildren) "/" Journal
* LIST (\HasNoChildren) "/" Notes
* LIST (\HasNoChildren) "/" Tasks
* LIST (\Marked \HasNoChildren) "/" Contacts
* LIST (\Marked \HasNoChildren) "/" Drafts
* LIST (\Marked \HasNoChildren) "/" Calendar
* LIST (\Marked \HasNoChildren) "/" "Sent Items"
* LIST (\Marked \HasNoChildren) "/" "Deleted Items"
* LIST (\Marked \HasNoChildren) "/" INBOX
* LIST (\Noselect) "/" "Public Folders/"
* LIST (\Marked \HasChildren) "/" "Public Folders/Knowledge Base"
* LIST (\Marked \HasNoChildren) "/" "Public Folders/Knowledge Base/Masterin=
g EJB
 Book summary"
* LIST (\Marked \HasNoChildren) "/" "Public Folders/Knowledge Base/Jive (fo=
rum)"
* LIST (\Marked \HasNoChildren) "/" "Public Folders/Knowledge Base/jrun"
* LIST (\Marked \HasNoChildren) "/" "Public Folders/Knowledge Base/chat"
* LIST (\Marked \HasChildren) "/" "Public Folders/Knowledge Base/PDF printi=
ng"
* LIST (\Marked \HasNoChildren) "/" "Public Folders/Knowledge Base/PDF prin=
ting/
Advanced PDF Password Recovery v1.01"
* LIST (\Marked \HasNoChildren) "/" "Public Folders/Knowledge Base/netscape"
* LIST (\HasNoChildren) "/" "Public Folders/Knowledge Base/.css"
* LIST (\Marked \HasNoChildren) "/" "Public Folders/Knowledge Base/Orion"
* LIST (\Marked \HasNoChildren) "/" "Public Folders/FunFathom"
* LIST (\HasChildren) "/" "Public Folders/HR"
* LIST (\Marked \HasNoChildren) "/" "Public Folders/HR/Interview"
* LIST (\Marked \HasNoChildren) "/" "Public Folders/ACT-TRN"
* LIST (\Marked \HasNoChildren) "/" "Public Folders/.NET Framework Bugs"
* LIST (\HasNoChildren) "/" "Public Folders/Internet Newsgroups"
a001 OK LIST completed.


-----Original Message-----
From:Carsten Burghardt [mailto:cb@magic-shop.de]
Sent:Fri 7/26/2002 8:00 AM
To:45773@bugs.kde.org
Cc:Michael H=E4ckel
Subject:Bug#45773: IMAP problem dot in folder name

On Friday 26 July 2002 02:15 rob.scott@fathomtechnology.com wrote:
> Package: kmail
> Version: 1.4 (using KDE 3.0.0 )
> Severity: normal
> Installed from:    Gentoo
> Compiler:          gcc version 2.95.3 20010315 (release)
> OS:                Linux (i686) release 2.4.18
> OS/Compiler notes:
>
> Connecting KMail to an Exchange server with Public Folders.
>
> A couple of the public folders have names that start with a period '.' f=
or
> example '.css' and '.NET'. These cause KMail to produce an error message
> and then the folders are not listed in the navigation panel.
>
> Expected behaviour is that folders that start with '.' should be listed as
> any other folder. I'm assuming that KMail thinks that '.' is a special
> character and doesn't not escape it properly.

The expected behaviour depends on whether exchange uses "/" or "." to separ=
ate=20
the folders. Do you know which one it uses as I don't have an exchange-serv=
er=20
here? Or Michael?
Perhaps I can organize an exchange-server at work than we could test that=
=20
Mickey Mouse stuff.

--=20
Regards

Carsten Burghardt

(Complete bug history is available at http://bugs.kde.org/db/45/45773.html)




------_=_NextPart_001_01C2349C.FA6AEA08
Content-Type: text/html;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3DWindows-1=
252">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version 6.0.5762.3">
<TITLE>RE: Bug#45773: IMAP problem dot in folder name</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=3D2>Here is a list of my folder space passwords and machine =
names munged:<BR>
<BR>
* OK Microsoft Exchange 2000 IMAP4rev1 server version 6.0.5762.3 (*********=
*.FATHOM<BR>
TECHNOLOGY.COM) ready.<BR>
a001 LOGIN rob.scott *************<BR>
a001 OK LOGIN completed.<BR>
a001 LIST &quot;&quot; &quot;*&quot;<BR>
* LIST (\HasNoChildren) &quot;/&quot; Outbox<BR>
* LIST (\HasNoChildren) &quot;/&quot; Journal<BR>
* LIST (\HasNoChildren) &quot;/&quot; Notes<BR>
* LIST (\HasNoChildren) &quot;/&quot; Tasks<BR>
* LIST (\Marked \HasNoChildren) &quot;/&quot; Contacts<BR>
* LIST (\Marked \HasNoChildren) &quot;/&quot; Drafts<BR>
* LIST (\Marked \HasNoChildren) &quot;/&quot; Calendar<BR>
* LIST (\Marked \HasNoChildren) &quot;/&quot; &quot;Sent Items&quot;<BR>
* LIST (\Marked \HasNoChildren) &quot;/&quot; &quot;Deleted Items&quot;<BR>
* LIST (\Marked \HasNoChildren) &quot;/&quot; INBOX<BR>
* LIST (\Noselect) &quot;/&quot; &quot;Public Folders/&quot;<BR>
* LIST (\Marked \HasChildren) &quot;/&quot; &quot;Public Folders/Knowledge =
Base&quot;<BR>
* LIST (\Marked \HasNoChildren) &quot;/&quot; &quot;Public Folders/Knowledg=
e Base/Mastering EJB<BR>
&nbsp;Book summary&quot;<BR>
* LIST (\Marked \HasNoChildren) &quot;/&quot; &quot;Public Folders/Knowledg=
e Base/Jive (forum)&quot;<BR>
* LIST (\Marked \HasNoChildren) &quot;/&quot; &quot;Public Folders/Knowledg=
e Base/jrun&quot;<BR>
* LIST (\Marked \HasNoChildren) &quot;/&quot; &quot;Public Folders/Knowledg=
e Base/chat&quot;<BR>
* LIST (\Marked \HasChildren) &quot;/&quot; &quot;Public Folders/Knowledge =
Base/PDF printing&quot;<BR>
* LIST (\Marked \HasNoChildren) &quot;/&quot; &quot;Public Folders/Knowledg=
e Base/PDF printing/<BR>
Advanced PDF Password Recovery v1.01&quot;<BR>
* LIST (\Marked \HasNoChildren) &quot;/&quot; &quot;Public Folders/Knowledg=
e Base/netscape&quot;<BR>
* LIST (\HasNoChildren) &quot;/&quot; &quot;Public Folders/Knowledge Base/.=
css&quot;<BR>
* LIST (\Marked \HasNoChildren) &quot;/&quot; &quot;Public Folders/Knowledg=
e Base/Orion&quot;<BR>
* LIST (\Marked \HasNoChildren) &quot;/&quot; &quot;Public Folders/FunFatho=
m&quot;<BR>
* LIST (\HasChildren) &quot;/&quot; &quot;Public Folders/HR&quot;<BR>
* LIST (\Marked \HasNoChildren) &quot;/&quot; &quot;Public Folders/HR/Inter=
view&quot;<BR>
* LIST (\Marked \HasNoChildren) &quot;/&quot; &quot;Public Folders/ACT-TRN&=
quot;<BR>
* LIST (\Marked \HasNoChildren) &quot;/&quot; &quot;Public Folders/.NET Fra=
mework Bugs&quot;<BR>
* LIST (\HasNoChildren) &quot;/&quot; &quot;Public Folders/Internet Newsgro=
ups&quot;<BR>
a001 OK LIST completed.<BR>
<BR>
<BR>
-----Original Message-----<BR>
From:&nbsp;&nbsp; Carsten Burghardt [<A HREF=3D"mailto:cb@magic-shop.de">ma=
ilto:cb@magic-shop.de</A>]<BR>
Sent:&nbsp;&nbsp; Fri 7/26/2002 8:00 AM<BR>
To:&nbsp;&nbsp;&nbsp;&nbsp; 45773@bugs.kde.org<BR>
Cc:&nbsp;&nbsp;&nbsp;&nbsp; Michael H=E4ckel<BR>
Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Bug#45773: IMAP problem =
dot in folder name<BR>
<BR>
On Friday 26 July 2002 02:15 rob.scott@fathomtechnology.com wrote:<BR>
&gt; Package: kmail<BR>
&gt; Version: 1.4 (using KDE 3.0.0 )<BR>
&gt; Severity: normal<BR>
&gt; Installed from:&nbsp;&nbsp;&nbsp; Gentoo<BR>
&gt; Compiler:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gcc ve=
rsion 2.95.3 20010315 (release)<BR>
&gt; OS:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; Linux (i686) release 2.4.18<BR>
&gt; OS/Compiler notes:<BR>
&gt;<BR>
&gt; Connecting KMail to an Exchange server with Public Folders.<BR>
&gt;<BR>
&gt; A couple of the public folders have names that start with a period '.'=
 for<BR>
&gt; example '.css' and '.NET'. These cause KMail to produce an error messa=
ge<BR>
&gt; and then the folders are not listed in the navigation panel.<BR>
&gt;<BR>
&gt; Expected behaviour is that folders that start with '.' should be liste=
d as<BR>
&gt; any other folder. I'm assuming that KMail thinks that '.' is a special=
<BR>
&gt; character and doesn't not escape it properly.<BR>
<BR>
The expected behaviour depends on whether exchange uses &quot;/&quot; or &q=
uot;.&quot; to separate<BR>
the folders. Do you know which one it uses as I don't have an exchange-serv=
er<BR>
here? Or Michael?<BR>
Perhaps I can organize an exchange-server at work than we could test that<=
BR>
Mickey Mouse stuff.<BR>
<BR>
--<BR>
Regards<BR>
<BR>
Carsten Burghardt<BR>
<BR>
(Complete bug history is available at <A HREF=3D"http://bugs.kde.org/db/45/=
45773.html">http://bugs.kde.org/db/45/45773.html</A>)<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C2349C.FA6AEA08--
Comment 4 Rob Scott 2002-07-26 14:17:20 UTC
The error message is:


Error while creating file `.NET Framework Bugs':
File exists

On Friday 26 July 2002 8:19 am Michael H=E4ckel wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Friday 26 July 2002 08:00 Carsten Burghardt wrote:
> > > A couple of the public folders have names that start with a period '.=
'
> > > for example '.css' and '.NET'. These cause KMail to produce an error
> > > message and then the folders are not listed in the navigation panel.
>
> Would be nice to know what error message.
>
> > > Expected behaviour is that folders that start with '.' should be list=
ed
> > > as any other folder. I'm assuming that KMail thinks that '.' is a
> > > special character and doesn't not escape it properly.
>
> You have to enable the feature to display hidden folders in KMail's accou=
nt
> configuration to see folders that start with a dot because filenames that
> start with a dot are usually meant to be hidden files on a unix file
> system.
>
> > The expected behaviour depends on whether exchange uses "/" or "." to
> > separate the folders. Do you know which one it uses as I don't have an
> > exchange-server here? Or Michael?
> > Perhaps I can organize an exchange-server at work than we could test
> > that Mickey Mouse stuff.
>
> As far as I remember it uses "\" for private folders but that might be
> different for public folders.
>
> Regards
> Michael H=E4ckel
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
>
> iD8DBQE9QOoBe9KEPyN2R8URArzxAJoCrdlOYecy3AWms0rCGMbJLplU4gCeP32N
> xhXKuRTa3Gh2Ja09z0eb5Dw=3D
> =3DlixI
> -----END PGP SIGNATURE-----
>
> (Complete bug history is available at http://bugs.kde.org/db/45/45773.htm=
l)
Comment 5 Till Adam 2003-10-13 18:47:13 UTC
*** Bug 57790 has been marked as a duplicate of this bug. ***
Comment 6 rookkey 2004-05-12 16:03:11 UTC
I no longer have access to CVS, so I cannot determine whether the problem still exists or not.  Therefore, I'm removing myself from the CC list.
Comment 7 Oliver Gassner 2004-10-31 21:30:15 UTC
Same problem here (kmail 1.7, kde 3.3.0)
Have imap-folder .mail
kmail crashes on restart if i don't remove  ~/.kde3.3/share/apps/kmail/imap/.XXXXXXXX.directory/ before.
For the .mail folder the following files are created:
...mail.index
...mail.index.ids
..mail
I think there is 1 point too much in the filenames, because for a folder named "spamtrap" the following files are created:
.spamtrap.index
.spamtrap.index.ids
spamtrap

imap-server: uw-imapd


Comment 8 Thomas McGuire 2007-08-06 20:26:44 UTC
See also bug 148512.
Comment 9 Thomas McGuire 2007-08-14 18:20:45 UTC
See also bug 148792.
Comment 10 George Kiagiadakis 2008-08-31 16:46:41 UTC
This bug is still present in kmail 1.10.0 svn r854573. There is no error message, but kmail simply doesn't list any folders starting with a dot. At first I thought my server didn't support such folders because even my webmail application couldn't list them, BUT thunderbird is able to create and use such folders successfully, so it's not the server's fault.

So, to reproduce:
1) configure thunderbird to use the same imap account as kmail
2) create a folder starting with a dot in thunderbird
3) remove and readd the account in kmail. (just syncing won't work. kmail seems unable to read new folders, even ones without dots)
4) the dot folders are not present in kmail as they should.
Comment 11 Björn Ruberg 2010-03-13 16:12:18 UTC
*** Bug 228428 has been marked as a duplicate of this bug. ***
Comment 12 Laurent Montel 2015-04-12 09:46:38 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.