[Dovecot] Remove leading and trailing spaces from folder names?

Ed W lists at wildgooses.com
Tue Jul 24 01:45:37 EEST 2012


On 19/07/2012 15:07, Ralf Hildebrandt wrote:
> * Ed W <lists at wildgooses.com>:
>> On 19/07/2012 13:45, Ralf Hildebrandt wrote:
>>> Hi!
>>>
>>> Anybody got a doveadm script which can remove leading and trailing
>>> spaces from folder names?
>>>
>>> Right now we're migrating mailboxes from dovecot -> Exchange, and
>>> Exchange cannot handle leading and trailing spaces in Folder names.
>>>
>> Caveat that it might cause some wierd symptoms with clients, why not
>> attack the dovecot mail backend and rename folders + sed the
>> subscription files?
> That's what I asked for:
> "Anybody got a doveadm script which can remove leading and trailing spaces from folder names?"
>

Oh, sorry.  Why doveadm though?  Why not attack the filesystem directly?

Ed


More information about the dovecot mailing list