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

Robert Schetterer robert at schetterer.org
Thu Jul 19 16:47:53 EEST 2012


Am 19.07.2012 15:31, schrieb Robert Schetterer:
> Am 19.07.2012 15:24, schrieb Ralf Hildebrandt:
>> * Ralf Hildebrandt <Ralf.Hildebrandt at charite.de>:
>>> * Ralf Hildebrandt <Ralf.Hildebrandt at 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$/Entw&APw-rfe/g" \
>>>    --regextrans2 "s/spam$/Junk-E-Mail/g" \
>>>    --regextrans2 "s/(.*) $/$1/g" \
>>>
>>> but that cannot handle leading & trailing spaces in the foldernames
>>
>> in intermediate foldernames... It can fix:
>>
>> "INBOX.foo "
>> but can't fix
>> "INBOX. foo. bar"
>>
> 
> thats a beginn, i looking to a solution too
> 



there is a tool for this
no idea if it really working and fits to the problem

http://www.microsoft.com/en-us/download/details.aspx?id=1329

Overview

Transporter Suite contains a set of tools for migrations from both Lotus
Domino Servers, and generic IMAP/POP sources. For Lotus Domino the suite
contains a set of tools for Directory and Free/Busy interoperability
between Lotus Domino 6, 7 and 8 and Exchange Server 2007 and Windows
Server 2003/2008 Active Directory. In addition for Lotus Domino the
suite contains migration tools to migrate users, groups, personal
address lists, mailboxes, personal mail archives, and applications from
Lotus Domino 5, 6, 7 or 8 to Active Directory, Exchange Server 2007, and
Windows SharePoint Services 3.0.

--here it comes
For generic POP/IMAP servers the suite contains a set of tools to bulk
migrate mailboxes from any generic email servers that support the POP3
or IMAP4 protocol to mailboxes in Exchange Server 2007
-------------

as ever there are problems with it

http://social.technet.microsoft.com/forums/en-US/exchangesvrmigration/thread/b2111b89-beb9-4e63-b301-8eaf14447b09/

http://social.technet.microsoft.com/Forums/en-US/exchangesvrmigration/thread/319648ac-c248-400f-ba64-bb882018c790/#aa2b1c26-88a3-496d-8a8e-7a2dc4e0ebee


https://msmvps.com/blogs/andersonpatricio/archive/2008/02/04/microsoft-transporter-suite-for-internet-mailboxes-configuring-exchange-impersonate-permission-in-exchange-server-2007.aspx

some other tool

IMAP to Exchange 2003 - Exchange Migration Wizard
which runs at batch mode too

http://technet.microsoft.com/en-us/library/aa998102.aspx
http://technet.microsoft.com/en-us/library/bb123854.aspx




if you need contact to exchange specialist i can give you some advanced one


i remember working on pup folders with pfadmin, this tools semms now to
have more options, perhaps help

http://www.msexchange.org/articles/PFDavAdmin-tool-Part2.html

-- 
Best Regards
MfG Robert Schetterer





More information about the dovecot mailing list