kmail maildir patches???

Holger Karl karl at ee.tu-berlin.de
Wed Feb 11 09:27:14 CET 2004


Hello Ralf,


On Tuesday 10 February 2004 22:49, Ralf Habacker wrote:
> On Sunday 08 February 2004 11:18, Holger Karl wrote:
> > Hello,
> >
> > I admit to being completely smitten with KDE on cygwin! Especially the
> > fact that kmail can use maildir is almost enough to make me throw away
> > outlook.
> >
> > Why almost? Because I still can't sync with kmail on a linux box, as the
> > maildir filenames  have ":" on linux and "." on windows (obviously, since
> > : causes problems)
>
> Are you you refering to the kmail updates (kdenetwork-3.1.4-1-u2.tar.bz),

embarassingly enough: not sure. I just followed the cygwin-on-kde installation 
instructions and used whatever kmail came with it. 

> and you are saying that kmail for cygwin runs for you  with external
> maildir's ?
>

Sure (is that a surprise?). Admittedly, I only tested it with a few folders 
and a few messages so far, but I intend to give it a bit of a workout soon 
(with a few gigabytes of email ...)


> > Now: did you patch the kamil source code?
>
> yes
>
> >would this patch be applicable to> the standard  kmail as well? (Is there
> > a chance to get the kamil-folks make > the : <-> . thing configurable, so
> > it is easy to decide which format to use > - wrong people to ask here, I
> > know).
>
> May be. Currently I'm very busy with this kmail on cygwin, but if you can
> provide a patch I think we can submit it to the kde people.


actually, I already posted a corresponding "wish" on the kmail bug tracking 
site 

http://bugs.kde.org/show_bug.cgi?id=74685   


would be great to have this ";" <-> "_" character thing  configurable...

BTW: I did notice the following bugs/problems:

1.)  kmail crashes occasionally when copying files from an IMAP server to a 
local maildir folder. Error message:

kmail: Index File 'test1' Version: 60
assertion "mIndexStream != 0" failed: file "kmfoldermaildir.cpp", line 409
*** KMail got signal 6 (Crashing)

(it doesn't always do that, apparently mostly when copying is the first thing 
I do after program start - when the target folder hasn'T been visited yet?)


2.) It doesn't always seem to update the index files correctly. E.g., when I 
copy a mail to another folder and then visit the folder, the mail does not 
appear even though it is correctly put into the cur/ folder. 

Quitting kmail, deleting that folders .index.* files, starting kmail and 
visiting the folder aleviates the problem.

Similar behavior with the outbox; sent messages stick around in the index and 
show as "No Subject" - ghost emails, even though the actual file in cur/ is 
no longer there. 

Cheers, 

Holger


PS: just a few directories ...
 sorry for the word wrapping...


bash-2.05b$ uname -a
CYGWIN_NT-5.1 mfive 1.5.6(0.108/3/2) 2004-01-19 00:43 i686 unknown unknown 
Cygwin
bash-2.05b$ ls -la Mail/inbox/cur/
total 45
drwxr-xr-x    2 karl     Kein            0 Feb  5 22:07 .
drwxr-xr-x    5 karl     Kein            0 Feb 11 08:56 ..
-rw-r--r--    1 karl     Kein         5779 Feb  5 22:12 
1076015546.3524.jmgZ_2.S
-rw-r--r--    1 karl     Kein        16214 Feb 11 08:48 
1076485698.1176.F0EO_2.S
-rw-r--r--    1 karl     Kein         3453 Feb 11 08:48 
1076485725.4000.Qffk_2.S
-rw-r--r--    1 karl     Kein          765 Feb 11 08:56 
1076486179.2460.NcEW_2.S
-rw-r--r--    1 karl     Kein         1806 Feb 11 08:56 
1076486194.2460.Fjgw_2.S
-rw-r--r--    1 karl     Kein        16214 Feb 11 08:56 
1076486203.2460.6Jht_2.S
bash-2.05b$ ls -la Mail/.projekte.directory/test1/cur
total 24
drwxr-xr-x    2 karl     Kein            0 Feb 11 08:50 .
drwxr-xr-x    5 karl     Kein            0 Feb 11 08:51 ..
-rw-r--r--    1 karl     Kein        16214 Feb 11 08:50 
1076485846.2980.IwK9_2.S
-rw-r--r--    1 karl     Kein         3453 Feb 11 08:50 
1076485852.2980.ipik_2.S
-rw-r--r--    1 karl     Kein         3451 Feb 11 08:51 
1076485862.2980.K0BT_2.S
bash-2.05b$





More information about the kde-cygwin mailing list