Changing message filename convention

Bron Gondwana brong at fastmail.fm
Sun Nov 15 05:52:33 EST 2009


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.

Bron.

Bron.



More information about the Cyrus-devel mailing list