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

2012-07-26 Thread Benny Pedersen
Den 2012-07-25 12:52, Timo Sirainen skrev: 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. plans for backports of 2.x to us there still stok on 1.2.x ?, i relly like to get 2.x dovecot going, b

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

2012-07-25 Thread Ed W
On 25/07/2012 11:59, Timo Sirainen wrote: On 25.7.2012, at 13.54, Ralf Hildebrandt wrote: 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

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

2012-07-25 Thread Timo Sirainen
On 25.7.2012, at 13.54, Ralf Hildebrandt wrote: >> 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 whic

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

2012-07-25 Thread Ralf Hildebrandt
* Timo Sirainen : > 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. :) > Th

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

2012-07-25 Thread Timo Sirainen
On 25.7.2012, at 13.43, Ralf Hildebrandt wrote: > * Ed W : > >> Oh, sorry. Why doveadm though? Why not attack the filesystem directly? > > It's a bit hard with mdbox: mailboxes. Actually it is allowed to simply mv the directory names, but I don't think that's all that much easier than just u

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

2012-07-25 Thread Ralf Hildebrandt
* Ed W : > Oh, sorry. Why doveadm though? Why not attack the filesystem directly? It's a bit hard with mdbox: mailboxes. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel.

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

2012-07-23 Thread Ed W
On 19/07/2012 15:07, Ralf Hildebrandt wrote: * Ed W : 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

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

2012-07-20 Thread Jerry
On Thu, 19 Jul 2012 22:19:05 +0200 Reindl Harald articulated: > > > Am 19.07.2012 22:13, schrieb Wojciech Puchar: > >> > >> Right now we're migrating mailboxes from dovecot -> Exchange, and > >> Exchange cannot handle leading and trailing spaces in Folder names. > > > > ask microsoft > > anoth

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

2012-07-20 Thread Jerry
On Fri, 20 Jul 2012 05:27:03 -0400 Charles Marcus articulated: > On 2012-07-20 4:23 AM, Reindl Harald wrote: > > Am 20.07.2012 09:48, schrieb Wojciech Puchar: > >>> do you really think that he migrates to exchange because he have > >>> fun with it? > > >> so? is it my problem that he works in co

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

2012-07-20 Thread Jerry
On Fri, 20 Jul 2012 10:05:05 +0200 Tom Hendrikx articulated: > On 7/20/12 9:56 AM, Frank Bonnet wrote: > > On 07/20/2012 09:48 AM, Wojciech Puchar wrote: > >>> do you really think that he migrates to exchange > >>> because he have fun with it? > >> so? is it my problem that he works in company man

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

2012-07-20 Thread Charles Marcus
On 2012-07-20 4:23 AM, Reindl Harald wrote: Am 20.07.2012 09:48, schrieb Wojciech Puchar: do you really think that he migrates to exchange because he have fun with it? so? is it my problem that he works in company managed by an idiot? so why do you not simply shut ip at all? Reindl... P

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

2012-07-20 Thread Chris
2012/7/20 Wojciech Puchar : >> do you really think that he migrates to exchange >> because he have fun with it? > > so? is it my problem that he works in company managed by an idiot? > > Why dovecot users have to provide free support for microsoft software, while > microsoft are paid for their "pro

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

2012-07-20 Thread Robert Schetterer
Am 20.07.2012 09:48, schrieb Wojciech Puchar: >> do you really think that he migrates to exchange >> because he have fun with it? > so? is it my problem that he works in company managed by an idiot? > > Why dovecot users have to provide free support for microsoft software, > while microsoft are pa

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

2012-07-20 Thread Reindl Harald
Am 20.07.2012 10:30, schrieb Wojciech Puchar: >>> so? is it my problem that he works in company managed by an idiot? >> >> so why do you not simply shut ip at all? > You are even more scared i am not scared i am only wondering why you are prove permanently that you are too stupid to understand b

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

2012-07-20 Thread Wojciech Puchar
so? is it my problem that he works in company managed by an idiot? so why do you not simply shut ip at all? You are even more scared.

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

2012-07-20 Thread Reindl Harald
Am 20.07.2012 09:48, schrieb Wojciech Puchar: >> do you really think that he migrates to exchange >> because he have fun with it? > so? is it my problem that he works in company managed by an idiot? so why do you not simply shut ip at all? YOU are really not in the position to qualify anybody

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

2012-07-20 Thread J E Lyon
On 20 Jul 2012, at 09:05, Tom Hendrikx wrote: > On 7/20/12 9:56 AM, Frank Bonnet wrote: >> On 07/20/2012 09:48 AM, Wojciech Puchar wrote: do you really think that he migrates to exchange because he have fun with it? >>> so? is it my problem that he works in company managed by an idiot? >

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

2012-07-20 Thread Tom Hendrikx
On 7/20/12 9:56 AM, Frank Bonnet wrote: > On 07/20/2012 09:48 AM, Wojciech Puchar wrote: >>> do you really think that he migrates to exchange >>> because he have fun with it? >> so? is it my problem that he works in company managed by an idiot? >> >> Why dovecot users have to provide free support f

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

2012-07-20 Thread Frank Bonnet
On 07/20/2012 09:48 AM, Wojciech Puchar wrote: do you really think that he migrates to exchange because he have fun with it? so? is it my problem that he works in company managed by an idiot? Why dovecot users have to provide free support for microsoft software, while microsoft are paid for th

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

2012-07-20 Thread Wojciech Puchar
do you really think that he migrates to exchange because he have fun with it? so? is it my problem that he works in company managed by an idiot? Why dovecot users have to provide free support for microsoft software, while microsoft are paid for their "products" thousands of dollars? Does it m

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

2012-07-19 Thread Robert Schetterer
Am 20.07.2012 00:13, schrieb Jerry: > On Thu, 19 Jul 2012 23:27:31 +0200 > Ralf Hildebrandt articulated: > >> * Reindl Harald : >> >>> do you really think that he migrates to exchange >>> because he have fun with it? >> >> It seems to be a well known restriction, and folder names with >> leading o

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

2012-07-19 Thread Jerry
On Thu, 19 Jul 2012 23:27:31 +0200 Ralf Hildebrandt articulated: > * Reindl Harald : > > > do you really think that he migrates to exchange > > because he have fun with it? > > It seems to be a well known restriction, and folder names with > leading or trailing spaces do indeed make little sense

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

2012-07-19 Thread Ralf Hildebrandt
* Reindl Harald : > do you really think that he migrates to exchange > because he have fun with it? It seems to be a well known restriction, and folder names with leading or trailing spaces do indeed make little sense. In all cases those that I found were typos.

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

2012-07-19 Thread Wojciech Puchar
Right now we're migrating mailboxes from dovecot -> Exchange, and Exchange cannot handle leading and trailing spaces in Folder names. ask microsoft another example what low-brained guy you are You are scared.

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

2012-07-19 Thread Reindl Harald
Am 19.07.2012 22:13, schrieb Wojciech Puchar: >> >> Right now we're migrating mailboxes from dovecot -> Exchange, and >> Exchange cannot handle leading and trailing spaces in Folder names. > > ask microsoft another example what low-brained guy you are do you recognize that you even stripped the

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

2012-07-19 Thread Wojciech Puchar
Right now we're migrating mailboxes from dovecot -> Exchange, and Exchange cannot handle leading and trailing spaces in Folder names. ask microsoft

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

2012-07-19 Thread Ralf Hildebrandt
* Ed W : > 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 Fol

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

2012-07-19 Thread Ed W
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 m

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

2012-07-19 Thread Robert Schetterer
Am 19.07.2012 15:31, schrieb Robert Schetterer: > Am 19.07.2012 15:24, schrieb Ralf Hildebrandt: >> * Ralf Hildebrandt : >>> * Ralf Hildebrandt : >>> > use imapsync ? No, that doesn't work, since Exchange doesn't accept the folder names. >>> >>> OK, in some cases one can use >>> >>>

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

2012-07-19 Thread Robert Schetterer
Am 19.07.2012 15:24, schrieb Ralf Hildebrandt: > * Ralf Hildebrandt : >> * Ralf Hildebrandt : >> use imapsync ? >>> >>> No, that doesn't work, since Exchange doesn't accept the folder names. >> >> OK, in some cases one can use >> >>--regextrans2 "s/Sent$/Sent Items/g" \ >>--regextrans

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

2012-07-19 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > * Ralf Hildebrandt : > > > > use imapsync ? > > > > No, that doesn't work, since Exchange doesn't accept the folder names. > > OK, in some cases one can use > >--regextrans2 "s/Sent$/Sent Items/g" \ >--regextrans2 "s/Drafts$/Entw&APw-rfe/g" \ >--regextrans2 "

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

2012-07-19 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > > use imapsync ? > > No, that doesn't work, since Exchange doesn't accept the folder names. OK, in some cases one can use --regextrans2 "s/Sent$/Sent Items/g" \ --regextrans2 "s/Drafts$/Entw&APw-rfe/g" \ --regextrans2 "s/spam$/Junk-E-Mail/g" \ --regextrans2 "

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

2012-07-19 Thread Ralf Hildebrandt
* Robert Schetterer : > Am 19.07.2012 14:45, schrieb Ralf Hildebrandt: > > 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

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

2012-07-19 Thread Robert Schetterer
Am 19.07.2012 14:45, schrieb Ralf Hildebrandt: > 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. > u

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

2012-07-19 Thread Ralf Hildebrandt
* Chris : > 2012/7/19 Ralf Hildebrandt : > > > Right now we're migrating mailboxes from dovecot -> Exchange, and > > Exchange cannot handle leading and trailing spaces in Folder names. > > You're migrating to M$ exchange??? :o Don't ask. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Ne

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

2012-07-19 Thread Chris
2012/7/19 Ralf Hildebrandt : > Right now we're migrating mailboxes from dovecot -> Exchange, and > Exchange cannot handle leading and trailing spaces in Folder names. You're migrating to M$ exchange??? :o -- Chris

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

2012-07-19 Thread Ralf Hildebrandt
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. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk