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

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Thu Jul 19 17:07:38 EEST 2012


* 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?"

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebrandt at charite.de | http://www.charite.de
	    


More information about the dovecot mailing list