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,

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

2012-07-25 Thread Ralf Hildebrandt
* Ed W li...@wildgooses.com: 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 |

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 li...@wildgooses.com: 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

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

2012-07-25 Thread Ralf Hildebrandt
* Timo Sirainen t...@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

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

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

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

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

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

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? Why dovecot

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 as

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

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

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

2012-07-20 Thread Chris
2012/7/20 Wojciech Puchar woj...@wojtek.tensor.gdynia.pl: 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

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 h.rei...@thelounge.net 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

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 managed by an

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 h.rei...@thelounge.net 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

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 another example what

[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

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

2012-07-19 Thread Chris
2012/7/19 Ralf Hildebrandt ralf.hildebra...@charite.de: 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

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

2012-07-19 Thread Ralf Hildebrandt
* Chris xchris...@googlemail.com: 2012/7/19 Ralf Hildebrandt ralf.hildebra...@charite.de: 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

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

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

2012-07-19 Thread Ralf Hildebrandt
* Robert Schetterer rob...@schetterer.org: 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

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

2012-07-19 Thread Ralf Hildebrandt
* Ralf Hildebrandt ralf.hildebra...@charite.de: 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$/EntwAPw-rfe/g \ --regextrans2 s/spam$/Junk-E-Mail/g \

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

2012-07-19 Thread Ralf Hildebrandt
* Ralf Hildebrandt ralf.hildebra...@charite.de: * Ralf Hildebrandt ralf.hildebra...@charite.de: 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

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.hildebra...@charite.de: * Ralf Hildebrandt ralf.hildebra...@charite.de: use imapsync ? No, that doesn't work, since Exchange doesn't accept the folder names. OK, in some cases one can use --regextrans2

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.hildebra...@charite.de: * Ralf Hildebrandt ralf.hildebra...@charite.de: use imapsync ? No, that doesn't work, since Exchange doesn't accept the folder names. OK, in some

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

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

2012-07-19 Thread Ralf Hildebrandt
* Ed W li...@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

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 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 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 Ralf Hildebrandt
* Reindl Harald h.rei...@thelounge.net: 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 Jerry
On Thu, 19 Jul 2012 23:27:31 +0200 Ralf Hildebrandt articulated: * Reindl Harald h.rei...@thelounge.net: 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

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 h.rei...@thelounge.net: 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