[Bug 303913] New: maildir 'new' directories aren't empty

mikael.salson at gmail.com mikael.salson at gmail.com
Sun Jul 22 11:16:10 BST 2012


https://bugs.kde.org/show_bug.cgi?id=303913

            Bug ID: 303913
          Severity: normal
           Version: 4.8.4
          Priority: NOR
          Assignee: kdepim-bugs at kde.org
           Summary: maildir 'new' directories aren't empty
    Classification: Unclassified
                OS: Linux
          Reporter: mikael.salson at gmail.com
          Hardware: Ubuntu Packages
            Status: UNCONFIRMED
         Component: general
           Product: kmail2

According to Wikipedia : 
“When the mail user agent process finds messages in the new directory it moves
them to cur (using rename() - link then unlink strategy may result in having
the message duplicated) and appends an informational suffix to the filename
before reading them.”

So I understand that I shouldn't see any file in the new directories. However I
have a few ones:
$ find ~/.kde/share/apps/kmail/mail/ -type f | grep -c '/new/'
3902

They are not duplicated messages. Meaning that these messages, as far as I can
see, are not in the cur/ directory. One of them, for instance, is
new/1342795373.R533.basilic:2,S and we can see that the informational suffix
has been appended. I can also see this message in kmail and it cannot be
distinguished from other messages (in the same folder in kmail) that are stored
in the cur/ directory.

I'm definitely not a maildir expert but that seems to be a non-standard
behaviour. I'm also wondering if this can explain the following bug I filed
several months ago : https://bugs.kde.org/show_bug.cgi?id=289657

Reproducible: Sometimes

Steps to Reproduce:
Most messages are put in cur/ directories. I don't know what prevent some of
them to go there!

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list