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

Ed W lists at wildgooses.com
Thu Jul 19 16:52:38 EEST 2012


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?

Something like "find | rename"

Good luck

Ed W



More information about the dovecot mailing list