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

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Wed Jul 25 13:54:46 EEST 2012


* Timo Sirainen <tss at iki.fi>:

> Actually it is allowed to simply mv the directory names, but I don't
> think that's all that much easier than just using doveadm rename.

My point exactly. It's such a nice tool, so why not use a tool which
keeps the integrity of the mailboxes and folders if it exists. :)

> The way I'd do this is to just do doveadm mailbox list, put the strings
> through some regexps and doveadm rename if necessary. Repeat for all
> users.

Yes, something along those lines. It's just that I find it hard to
craft a regexp which does that. Maybe after the vacation.

-- 
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