[Dovecot] dovecot 1.0 to 1.1 upgrade and filesystem separators

Ian Thurlbeck ian at stams.strath.ac.uk
Thu Oct 23 14:00:25 EEST 2008


Timo Sirainen wrote:
> On Wed, 2008-10-22 at 13:43 +0100, Ian Thurlbeck wrote:
>> #define MAILDIR_FS_SEP ';'
>> #define MAILDIR_FS_SEP_S ";"
>>
>> so I can get some mail folder hierarchy and '.'s in
>> folder names - this all worked perfectly.
>>
>> Under 1.1.4 the MAILDIR_FS_SEP lines are no longer present.
>>
>> What is the current practice for doing what I was doing before ?
> 
> src/lib-storage/list/mailbox-list-maildir.c
> 
> struct mailbox_list maildir_mailbox_list = {
> 	MEMBER(name) MAILBOX_LIST_NAME_MAILDIRPLUSPLUS,
> 	MEMBER(hierarchy_sep) '.',
> 
> Change hierarchy_sep to ';'.
> 

That worked perfectly, thanks.

> A better long-term plan would be to use listescape plugin:
> http://dovecot.org/patches/1.1/listescape-plugin.c
> 
> That of course requires that you rename all the existing maildirs.



Ian
-- 
Ian Thurlbeck                http://www.stams.strath.ac.uk/
Statistics and Modelling Science, University of Strathclyde
Livingstone Tower, 26 Richmond Street, Glasgow, UK,  G1 1XH
Tel: +44 (0)141 548 3667           Fax: +44 (0)141 552 2079

The University of Strathclyde is a charitable body,
registered in Scotland, number SC015263.


More information about the dovecot mailing list