Changing message filename convention
Jeff
jlar310 at gmail.com
Sun Nov 15 09:09:02 EST 2009
On Sun, Nov 15, 2009 at 4:52 AM, Bron Gondwana <brong at fastmail.fm> wrote:
> On Sun, Nov 15, 2009 at 08:51:02AM +0000, David Carter wrote:
>> On Sat, 14 Nov 2009, Jeff wrote:
>>
>> >Without getting into the details of why I want to do this, is
>> >there a quick way to hack the source to change the file naming
>> >convention for message files. I have reason to not want the
>> >trailing dot.
>>
>> The trailing dot is there to generate unique names, so you don't
>> have any conflict with the mailbox namespace. For example a mailbox
>> named "42" or "cyrus.index". I really wouldn't recommend this.
>
> I would recomment 12345.eml if you were going to do this, rather than
> just strip the dot.
>
> http://filext.com/file-extension/EML
>
> It shouldn't be too hard to add, but it's a pain to have to convert
> on a live instance of course.
>
> Also - I suspect there's a pile of code that depends on the \d+\.
> pattern existing.
Yes, .eml was my plan, but changing only mailbox.c breaks things. I
was looking for some pointers on which other source files made
assumptions about the expected file name.
Jeff
More information about the Cyrus-devel
mailing list