Re: [exim] Maildir file names

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Ted Cooper
Fecha:  
A: exim-users
Asunto: Re: [exim] Maildir file names
Brent Jones wrote:
> Phil Pennock wrote:
>> On 2008-07-06 at 15:12 -0700, Brent Jones wrote:
>>
>>> It could be an IMAP client renaming these files, but not likely, the
>>> application simply does a copy/purge on messages (in-house application)
>>>
>> So when the IMAP server sees the files and shows them to the user,
>> doesn't it move them from the new/ sub-directory to the cur/
>> sub-directory? This being intrinsic to Maildir, rather than IMAP-level
>> copy/purge.
>>
>> -Phil
>>
> It does, but we have an in-house application that comes in via IMAP,
> does some message processing, and moves them out of the Inbox into
> processed folders.
> But it shouldnt be changing the name at all, since when it moves them,
> it simply does a copy to another folder, mark the old message for
> deletion, then purges.


If it uses the IMAP protocol to move the emails then it is entirely up
to the IMAP server as to what it renames the files. I use Courier IMAP
which renames the files when I move them to sub-folders to the
remarkably similar:
1215438182.M472532P23404V0000000000000308I000F37AA_2270.zinc,S\=902:2,S
while the original filenames are:
1215441815.H237085P23861.mail.linuxwan.net,S=1195

As you can see, we seem to have some similarities. I don't know what
happened to your host name though, so that is quite strange.

If you want to maintain the original filenames, then you have to work
with the raw file system. Or hack courier to keep filenames when it
moves them.

Hmm, or maybe it's Thunderbird that renames them.

--
The Exim Manual
http://www.exim.org/docs.html
http://docs.exim.org/current/