[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [imapsync] How to strip of a DOT from a folder name using --regextrans2 ?


From Gilles LAMIRAL <gilles dot lamiral at laposte dot net>
Subject Re: [imapsync] How to strip of a DOT from a folder name using --regextrans2 ?
Date Wed, 13 Jul 2011 18:27:24 +0200

Hello,

> I see that MDaemon does not accepts folder names starting with a  "."
> 
> So I see some of these errors:
> 
> Couldn't create [.mbx]: 312 NO Invalid mailbox name
> Couldn't create [MyFolders/.Questions]: 8171 NO Invalid mailbox name
> 
> How can I strip the "." using the --regextrans2 option ?

 --regextrans2 's/\/\./\//g'

-- 
Au revoir,                             09 51 84 42 42
Gilles Lamiral. France, Baulon (35580) 06 20 79 76 06