Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What do the flags in a Maildir message filename mean?

Tags:

imap

maildir

I'm cleaning up some old Maildir folders, and finding messages with names like:

1095812260.M625118P61205V0300FF04I002DC537_0.redoak.cise.ufl.edu,S=2576:2,ST

They don't show up in my IMAP client, so I presume there's some semaphore indicating the message already got moved somewhere else. Is that the case, and can the files be deleted without remorse?

like image 884
Christian - Reinstate Monica C Avatar asked Sep 16 '08 07:09

Christian - Reinstate Monica C


1 Answers

The 'M' is just part of the unique filename and has nothing to do with the fact that the mail doesn't show up in mail clients.

The 'T' at the end of the filename, after the ':' sign, however tells the IMAP server that this message is Trashed.

See http://cr.yp.to/proto/maildir.html

like image 178
Erik Forsberg Avatar answered Oct 11 '22 17:10

Erik Forsberg