Hi there We are trying to move over from 1 IMAP server to another, but the problem is dovecot does not allow .'s in folder names (and we have quite a number of people who do have .'s in their folder names (ie "www.domain stuff") Is there anyway of allowing dovecot to allow .'s in folder names? Thanks Craig Whitmore -------------- next part -------------- An HTML attachment was scrubbed... URL: http://dovecot.org/pipermail/dovecot/attachments/20051021/868706e2/attachment.htm
On 2005-10-21 08:12:22 +1300, Craig Whitmore wrote:> We are trying to move over from 1 IMAP server to another, but the > problem is dovecot does not allow .'s in folder names (and we have > quite a number of people who do have .'s in their folder names (ie > "www.domain stuff") > > Is there anyway of allowing dovecot to allow .'s in folder names?not if you use maildir with maildir+ the hierarchie delimiter is the "." but you are free to use mbox if you rely on ".". http://en.wikipedia.org/wiki/Maildir darix
On Fri, 2005-10-21 at 08:12 +1300, Craig Whitmore wrote:> Hi there > > We are trying to move over from 1 IMAP server to another, but the > problem is dovecot does not allow .'s in folder names (and we have > quite a number of people who do have .'s in their folder names (ie > "www.domain stuff") > > Is there anyway of allowing dovecot to allow .'s in folder names?Change MAILDIR_FS_SEP and MAILDIR_FS_SEP_S in src/lib-storage/index/maildir/maildir-storage.h to something else than "." (eg. "^" might be rarely enough used). After that it's no longer a "standard" Maildir++ though and you'll have to keep patching Dovecot for each new version. I may make this configurable from config file some day though. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://dovecot.org/pipermail/dovecot/attachments/20051027/3c2ca830/attachment.pgp
Thursday 27 October 2005 15:01 skrev Timo Sirainen:> On Fri, 2005-10-21 at 08:12 +1300, Craig Whitmore wrote: > > Hi there > > > > We are trying to move over from 1 IMAP server to another, but the > > problem is dovecot does not allow .'s in folder names (and we have > > quite a number of people who do have .'s in their folder names (ie > > "www.domain stuff") > > > > Is there anyway of allowing dovecot to allow .'s in folder names? > > Change MAILDIR_FS_SEP and MAILDIR_FS_SEP_S in > src/lib-storage/index/maildir/maildir-storage.h to something else than > "." (eg. "^" might be rarely enough used). > > After that it's no longer a "standard" Maildir++ though and you'll have > to keep patching Dovecot for each new version. I may make this > configurable from config file some day though.According to http://www.courier-mta.org/?maildir.html, the period and the forward slash can (should?) be represented using modified UTF-7, just like non-ascii characters. By the way, if I try to create a folder "foo.bar", Kmail says "Your IMAP server does not allow the character '.'; please choose another folder name.", but with Thunderbird a folder foo with a subfolder bar is created, with foo greyed out and italic to signify that it can't contain mail. What gives? -- Magnus Holmgren -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20060408/7bdf9de0/attachment.bin>