2017-09-23 23:54:48 +02:00
|
|
|
|
|
2020-04-11 01:15:57 +02:00
|
|
|
|
$Id: FAQ.Exchange.txt,v 1.57 2019/12/04 18:26:28 gilles Exp gilles $
|
2016-09-19 17:15:41 +02:00
|
|
|
|
|
2019-07-03 01:17:46 +02:00
|
|
|
|
This documentation is also available online at
|
|
|
|
|
https://imapsync.lamiral.info/FAQ.d/
|
|
|
|
|
https://imapsync.lamiral.info/FAQ.d/FAQ.Exchange.txt
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
2019-07-03 01:17:46 +02:00
|
|
|
|
|
|
|
|
|
=======================================================================
|
|
|
|
|
Imapsync tips for Exchange 20xx and Office365.
|
|
|
|
|
=======================================================================
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
2018-05-07 16:04:23 +02:00
|
|
|
|
Questions answered in this FAQ are:
|
2015-12-03 18:16:32 +01:00
|
|
|
|
|
|
|
|
|
Q. Can I use imapsync to transfer from or to Exchange or Office365 accounts?
|
2016-01-22 17:52:28 +01:00
|
|
|
|
|
2017-09-23 23:54:48 +02:00
|
|
|
|
Q. How to sync from XXX to Exchange 2010/2013/2016
|
2016-01-22 17:52:28 +01:00
|
|
|
|
|
2019-07-03 01:17:46 +02:00
|
|
|
|
Q. How to sync from Office365 to XXX?
|
|
|
|
|
|
2016-01-22 17:52:28 +01:00
|
|
|
|
Q. How to sync from XXX to Office365
|
|
|
|
|
|
2015-12-03 18:16:32 +01:00
|
|
|
|
Q. For Office365 I have double and triple checked the username and
|
|
|
|
|
password spelling but I still get a "LOGIN failed". Any clue?
|
2016-01-22 17:52:28 +01:00
|
|
|
|
|
2017-09-23 23:54:48 +02:00
|
|
|
|
Q. I see "NO Maximum size of appendable message has been exceeded"
|
2019-07-03 01:17:46 +02:00
|
|
|
|
What can I do with that? Happens with Office365 or Exchange 2016.
|
|
|
|
|
|
|
|
|
|
Q. Office365 throttles the sync and says:
|
|
|
|
|
"Request is throttled. Suggested Backoff Time: 299961 milliseconds".
|
2017-09-23 23:54:48 +02:00
|
|
|
|
What can I do with that?
|
|
|
|
|
|
2019-07-03 01:17:46 +02:00
|
|
|
|
Q. Office365 refuses to create the folder named "Files" with the error
|
|
|
|
|
"NO Folder name is reserved". What happens?
|
|
|
|
|
|
|
|
|
|
Q. Office365 users complain that a folder named "Files" contains
|
|
|
|
|
messages with no sender.
|
|
|
|
|
|
2015-12-03 18:16:32 +01:00
|
|
|
|
Q. Exchange fails with "User is authenticated but not connected".
|
2016-01-22 17:52:28 +01:00
|
|
|
|
|
2016-09-19 17:15:41 +02:00
|
|
|
|
Q. Exchange fails with "BAD Command received in Invalid state".
|
|
|
|
|
|
2015-12-03 18:16:32 +01:00
|
|
|
|
Q. From XXX to Exchange 2013 or Office365, read receipts are all
|
|
|
|
|
resent again after a sync. Even for old messages. How can I fix that?
|
2016-01-22 17:52:28 +01:00
|
|
|
|
|
2017-09-23 23:54:48 +02:00
|
|
|
|
Q. DEBUG: IO/Socket/SSL.pm:1043: local error: SSL read error
|
|
|
|
|
DEBUG: IO/Socket/SSL.pm:1043: local error: SSL read error
|
|
|
|
|
|
2015-12-03 18:16:32 +01:00
|
|
|
|
Q. From XXX to Exchange 2010/2013 or Office365 I get this error message
|
|
|
|
|
sometimes: "BAD Command Argument Error 11". What does it mean?
|
2016-01-22 17:52:28 +01:00
|
|
|
|
|
2015-12-03 18:16:32 +01:00
|
|
|
|
Q. From XXX to Exchange 2010 or 2013 or Office365 the flag Flagged does
|
|
|
|
|
not seem to be well synced. What can I do?
|
2016-01-22 17:52:28 +01:00
|
|
|
|
|
2019-07-03 01:17:46 +02:00
|
|
|
|
Q. How to migrate from or to Exchange 2007/2010/2013 with an
|
2015-12-03 18:16:32 +01:00
|
|
|
|
admin/authuser account?
|
2016-01-22 17:52:28 +01:00
|
|
|
|
|
2019-07-03 01:17:46 +02:00
|
|
|
|
Q. How to migrate from or to Exchange 2016 with an admin/authuser account?
|
|
|
|
|
|
2015-12-03 18:16:32 +01:00
|
|
|
|
Q. How to migrate from or to Office 365 with an admin/authuser account?
|
2016-01-22 17:52:28 +01:00
|
|
|
|
|
2015-12-03 18:16:32 +01:00
|
|
|
|
Q. How to migrate from or to Exchange 2003 with an admin/authuser
|
|
|
|
|
account?
|
2016-01-22 17:52:28 +01:00
|
|
|
|
|
2015-12-03 18:16:32 +01:00
|
|
|
|
Q. Couldn't create folder [trash] "Mailbox already exists".
|
2016-01-22 17:52:28 +01:00
|
|
|
|
|
2015-12-03 18:16:32 +01:00
|
|
|
|
Q. Migrating to Exchange 201O, messages get date of the transfer,
|
|
|
|
|
this is bad for sorting and listing. What can I do?
|
2016-01-22 17:52:28 +01:00
|
|
|
|
|
2020-04-11 01:15:57 +02:00
|
|
|
|
Q. How to sync from any to Exchange 2007?
|
|
|
|
|
|
|
|
|
|
Q. Exchange 2007 folders ending with a space cause an imapsync crash.
|
|
|
|
|
"Could not select: socket closed while reading data from server"
|
2016-01-22 17:52:28 +01:00
|
|
|
|
|
2015-12-03 18:16:32 +01:00
|
|
|
|
Q. How to sync from Microsoft Exchange 2000 IMAP4rev1 server?
|
|
|
|
|
|
2018-05-07 16:04:23 +02:00
|
|
|
|
|
|
|
|
|
Now the questions again with their answers.
|
|
|
|
|
|
2015-12-03 18:16:32 +01:00
|
|
|
|
=======================================================================
|
|
|
|
|
Q. Can I use imapsync to transfer from or to Exchange or Office365 accounts?
|
|
|
|
|
|
|
|
|
|
R. Yes. But IMAP access to a Exchange or Office365 account is not always
|
|
|
|
|
allowed by default so it has to be allowed in the server configuration
|
2018-05-07 16:04:23 +02:00
|
|
|
|
part.
|
|
|
|
|
|
|
|
|
|
Exchange: https://technet.microsoft.com/en-us/library/bb124489(v=exchg.150).aspx
|
|
|
|
|
Office365: https://support.microsoft.com/en-us/help/2416434/how-to-enable-or-disable-pop3-imap-mapi-outlook-web-app-or-exchange-ac
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
|
|
|
|
=======================================================================
|
2017-09-23 23:54:48 +02:00
|
|
|
|
Q. How to sync from XXX to Exchange 2010/2013/2016
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
2017-09-23 23:54:48 +02:00
|
|
|
|
R0. IMAP is not enable by default on Exchange, see how to enable it:
|
|
|
|
|
https://technet.microsoft.com/en-us/library/bb124489(v=exchg.150).aspx
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
2018-05-07 16:04:23 +02:00
|
|
|
|
|
2017-09-23 23:54:48 +02:00
|
|
|
|
R1. Following is a command line resume that solves most encountered
|
|
|
|
|
issues when migrating to Exchange. To fully understand or change
|
|
|
|
|
the details you have to read the next Q/R sections.
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
2018-05-07 16:04:23 +02:00
|
|
|
|
|
|
|
|
|
On Windows, use:
|
|
|
|
|
|
|
|
|
|
imapsync.exe ... --exchange2
|
|
|
|
|
|
2020-04-11 01:15:57 +02:00
|
|
|
|
which is equivalent in imapsync release 1.970 to:
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
2015-08-04 03:44:40 +02:00
|
|
|
|
imapsync.exe ... ^
|
2020-04-11 01:15:57 +02:00
|
|
|
|
--maxsize 10_000_000 ^
|
2015-12-03 18:16:32 +01:00
|
|
|
|
--maxmessagespersecond 4 ^
|
2015-08-04 03:44:40 +02:00
|
|
|
|
--disarmreadreceipts ^
|
2020-04-11 01:15:57 +02:00
|
|
|
|
--regexflag "s/\\Flagged//g" ^
|
|
|
|
|
--regexmess "s,(.{10239}),$1\r\n,g"
|
2015-12-03 18:16:32 +01:00
|
|
|
|
|
2018-05-07 16:04:23 +02:00
|
|
|
|
On Unix, use:
|
|
|
|
|
|
|
|
|
|
imapsync ... --exchange2
|
|
|
|
|
|
2020-04-11 01:15:57 +02:00
|
|
|
|
which is equivalent in imapsync release 1.970 to:
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
|
|
|
|
imapsync ... \
|
2020-04-11 01:15:57 +02:00
|
|
|
|
--maxsize 10_000_000 \
|
2015-12-03 18:16:32 +01:00
|
|
|
|
--maxmessagespersecond 4 \
|
2020-04-11 01:15:57 +02:00
|
|
|
|
--maxlinelength 10239 \
|
2015-12-03 18:16:32 +01:00
|
|
|
|
--regexflag 's/\\Flagged//g' \
|
2015-08-04 03:44:40 +02:00
|
|
|
|
--disarmreadreceipts \
|
2020-04-11 01:15:57 +02:00
|
|
|
|
--regexmess 's,(.{10239}),$1\r\n,g'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
On Linux, you can also try the "reformime" command
|
|
|
|
|
that can be used like:
|
|
|
|
|
|
|
|
|
|
imapsync ... --maxlinelengthcmd "reformime -r7"
|
|
|
|
|
|
|
|
|
|
To get reformime, install the "maildrop" package.
|
2015-12-03 18:16:32 +01:00
|
|
|
|
|
2019-07-03 01:17:46 +02:00
|
|
|
|
=======================================================================
|
|
|
|
|
Q. How to sync from Office365 to XXX?
|
|
|
|
|
|
|
|
|
|
R. On Windows, use:
|
|
|
|
|
|
|
|
|
|
imapsync.exe ... --office1
|
|
|
|
|
|
|
|
|
|
On Unix, use:
|
|
|
|
|
|
|
|
|
|
imapsync ... --office1
|
|
|
|
|
|
2020-04-11 01:15:57 +02:00
|
|
|
|
Option --office1 is like (release 1.970):
|
|
|
|
|
|
|
|
|
|
imapsync ... --host1 outlook.office365.com \
|
|
|
|
|
--ssl1 \
|
|
|
|
|
--exclude "^Files$"
|
|
|
|
|
|
2016-01-22 17:52:28 +01:00
|
|
|
|
=======================================================================
|
|
|
|
|
Q. How to sync from XXX to Office365
|
|
|
|
|
|
2018-05-07 16:04:23 +02:00
|
|
|
|
R0. IMAP is not enable by default on Office365, see how to enable it:
|
|
|
|
|
https://support.microsoft.com/en-us/help/2416434/how-to-enable-or-disable-pop3-imap-mapi-outlook-web-app-or-exchange-ac
|
|
|
|
|
https://technet.microsoft.com/en-us/library/gg298947(v=exchg.150).aspx
|
|
|
|
|
https://support.context.io/hc/en-us/articles/213586243-Enabling-IMAP-for-Office365
|
|
|
|
|
|
2016-01-22 17:52:28 +01:00
|
|
|
|
R. Here is a command line resume that solves most encountered issues when
|
|
|
|
|
migrating to Office365. It's similar with Exchange except for some
|
|
|
|
|
values. To understand or change the details you have to read
|
|
|
|
|
next Q/R sections.
|
|
|
|
|
|
|
|
|
|
|
2018-05-07 16:04:23 +02:00
|
|
|
|
imapsync ... --office2
|
|
|
|
|
|
2020-04-11 01:15:57 +02:00
|
|
|
|
which is equivalent to (in imapsync release 1.870):
|
2016-01-22 17:52:28 +01:00
|
|
|
|
|
|
|
|
|
imapsync ... \
|
2020-04-11 01:15:57 +02:00
|
|
|
|
--host2 outlook.office365.com \
|
|
|
|
|
--ssl2 \
|
2016-01-22 17:52:28 +01:00
|
|
|
|
--maxsize 45000000 \
|
2020-04-11 01:15:57 +02:00
|
|
|
|
--maxmessagespersecond 4 \
|
2016-01-22 17:52:28 +01:00
|
|
|
|
--disarmreadreceipts \
|
2020-04-11 01:15:57 +02:00
|
|
|
|
--regexmess "s,(.{10239}),$1\r\n,g" \
|
|
|
|
|
--f1f2 "Files=Files_renamed_by_imapsync"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
On Linux, you can also try the "reformime" command
|
|
|
|
|
that can be used like:
|
|
|
|
|
|
|
|
|
|
imapsync ... --maxlinelengthcmd "reformime -r7"
|
|
|
|
|
|
|
|
|
|
To get reformime, install the "maildrop" package.
|
|
|
|
|
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
2015-12-03 18:16:32 +01:00
|
|
|
|
=======================================================================
|
|
|
|
|
Q. For Office365 I have double and triple checked the username and
|
|
|
|
|
password spelling but I still get a "LOGIN failed". Any clue?
|
|
|
|
|
|
|
|
|
|
R1. Triple check the hostname then. Try all of these:
|
|
|
|
|
* imap-mail.outlook.com
|
|
|
|
|
* imap.outlook.com
|
|
|
|
|
* outlook.office365.com
|
|
|
|
|
|
|
|
|
|
R2. Also triple check a license is assigned to that account
|
|
|
|
|
in Office365.
|
|
|
|
|
|
|
|
|
|
R3. Try with a classic email client like Thunderbird and the same
|
|
|
|
|
parameters.
|
|
|
|
|
|
|
|
|
|
=======================================================================
|
|
|
|
|
Q. Exchange fails with "User is authenticated but not connected".
|
|
|
|
|
|
2016-09-19 17:17:24 +02:00
|
|
|
|
R1. "The message User is authenticated but not connected is due to a
|
2015-12-03 18:16:32 +01:00
|
|
|
|
bug in the Exchange server's IMAP implementation. If the client
|
|
|
|
|
presents a valid user name but an invalid password, the server
|
|
|
|
|
accepts the login, but subsequent commands fail with the
|
|
|
|
|
aforementioned error message." Source:
|
|
|
|
|
http://unix.stackexchange.com/questions/164823/user-is-authenticated-but-not-connected-after-changing-my-exchange-password
|
|
|
|
|
Thanks to James Abbottsmith for this link and explanation at
|
|
|
|
|
https://github.com/imapsync/imapsync/issues/32#issuecomment-153561647
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
2016-09-19 17:17:24 +02:00
|
|
|
|
R2. Miguel Alameda reported understanding and solving this issue
|
|
|
|
|
like this, the context was admin/authuser:
|
|
|
|
|
"The admin user had not permission in the target mailbox."
|
|
|
|
|
|
2017-09-23 23:54:48 +02:00
|
|
|
|
=======================================================================
|
|
|
|
|
Q. I see "NO Maximum size of appendable message has been exceeded"
|
2019-07-03 01:17:46 +02:00
|
|
|
|
What can I do with that? Happens with Office365 or Exchange 2016
|
2017-09-23 23:54:48 +02:00
|
|
|
|
|
2019-07-03 01:17:46 +02:00
|
|
|
|
R0. It happens with Office365 and Exchange 2016.
|
|
|
|
|
See R1 for Office365
|
|
|
|
|
See R2 for Exchange 2016
|
|
|
|
|
|
|
|
|
|
R1. Office365 supports send/receive max message sizes of up to 150MB
|
2017-09-23 23:54:48 +02:00
|
|
|
|
but you need to make changes in your tenant(s) to support it.
|
|
|
|
|
|
|
|
|
|
The following PowerShell command will increase the message sizes that
|
|
|
|
|
can be sent/received. The trick in getting IMAPSync to work is to
|
|
|
|
|
apply these settings to the accounts performing the migration,
|
|
|
|
|
NOT the accounts associated with the target mailbox (assuming you're
|
|
|
|
|
using service accounts to perform transfers on behalf of users).
|
|
|
|
|
|
|
|
|
|
Set-mailbox -Identity $UPN -MaxReceiveSize 150mb -MaxSendSize 150mb
|
|
|
|
|
|
|
|
|
|
e.g.
|
|
|
|
|
|
|
|
|
|
Set-mailbox -Identity "migrationaccount@testtenant.onmicrosoft.com" -MaxReceiveSize 150mb -MaxSendSize 150mb
|
|
|
|
|
|
|
|
|
|
We're transferring data between Office 365 tenants so we set these
|
|
|
|
|
values on the migration acounts in the source and target tenants.
|
|
|
|
|
|
|
|
|
|
Thanks to Sean McDougall, Ian Thomas & Matt Wilks from Toronto
|
|
|
|
|
for this FAQ item.
|
|
|
|
|
|
2019-07-03 01:17:46 +02:00
|
|
|
|
R2. With Exchange 2016
|
|
|
|
|
|
|
|
|
|
Thanks to Torsten Bergemann from Germany:
|
|
|
|
|
|
|
|
|
|
In order to have exchange accept big e-mails via imap, several size
|
|
|
|
|
limitations have to be removed on several levels of the exchange
|
|
|
|
|
software: For the organization (within exchange admin panel),
|
|
|
|
|
for each connector (with exchange admin panel), for each Postfach
|
|
|
|
|
(using exchange management shell).
|
|
|
|
|
|
|
|
|
|
For details and instructions, check
|
|
|
|
|
https://technet.microsoft.com/en-us/library/bb124345(v=exchg.160).aspx
|
|
|
|
|
https://technet.microsoft.com/en-us/library/hh529949(v=exchg.160).aspx
|
|
|
|
|
|
|
|
|
|
Unfortunately, the second link does not give instructions to remove the limit from imap4 service.
|
|
|
|
|
|
|
|
|
|
To solve it for Exchange 2013/2016, add the line
|
|
|
|
|
|
|
|
|
|
<add key="MaxReceiveSize" value="1024000000" />
|
|
|
|
|
|
|
|
|
|
to the file
|
|
|
|
|
C:\Program Files\Microsoft\Exchange Server\V14 [or V15]\ClientAccess\PopImap\Microsoft.Exchange.Imap4.exe.config
|
|
|
|
|
|
|
|
|
|
Please note that this change may be lost each time you install an
|
|
|
|
|
cumulative update. After the change, restart the services exchange
|
|
|
|
|
transport role, exchange information store and exchange imap4 Backend.
|
|
|
|
|
|
|
|
|
|
(Source: https://social.technet.microsoft.com/Forums/de-DE/2c07cf43-fe0e-4d22-b061-676a67c6d58d/exchange-2013-max-mailgre-per-imap?forum=exchange_serverde)
|
|
|
|
|
|
|
|
|
|
This change made our Exchange installation accept bigger e-mails
|
|
|
|
|
in order to remove the imapsync Exchange error message
|
|
|
|
|
"NO Maximum size of appendable message has been exceeded"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
=======================================================================
|
|
|
|
|
Q. Office365 throttles the sync and says:
|
|
|
|
|
"Request is throttled. Suggested Backoff Time: 299961 milliseconds".
|
|
|
|
|
What can I do with that?
|
|
|
|
|
|
2020-04-11 01:15:57 +02:00
|
|
|
|
|
|
|
|
|
R. Exchange and Office365 have throttle mechanisms to limit any huge
|
|
|
|
|
usage. Sometimes imapsync transfers are too stressful for servers.
|
|
|
|
|
The message
|
|
|
|
|
"Request is throttled. Suggested Backoff Time: 299961 milliseconds"
|
|
|
|
|
comes from the imap Office365 server, imapsync just reports it
|
|
|
|
|
before being disconnected from it.
|
|
|
|
|
|
|
|
|
|
To solve the throttles issues from 0365, there are two solutions
|
|
|
|
|
at least:
|
2019-07-03 01:17:46 +02:00
|
|
|
|
|
|
|
|
|
R1. Call Microsoft Office365 and ask them to remove the limits on your
|
|
|
|
|
mailboxes. That's not a joke, they do it for 90 days usually,
|
|
|
|
|
sometimes only after you reach the second technician you call,
|
2020-04-11 01:15:57 +02:00
|
|
|
|
the first one usually been not enough competent to understand
|
|
|
|
|
what you're talking about (I would be glad to remove this bad
|
|
|
|
|
fact).
|
2019-07-03 01:17:46 +02:00
|
|
|
|
|
|
|
|
|
R2. Play with options --maxbytespersecond or --maxmessagespersecond
|
|
|
|
|
or --exitwhenover
|
|
|
|
|
|
|
|
|
|
imapsync ... --maxbytespersecond 100_000
|
|
|
|
|
|
|
|
|
|
imapsync ... --maxmessagespersecond 2
|
|
|
|
|
|
|
|
|
|
imapsync ... --exitwhenover 1_000_000_000
|
|
|
|
|
|
|
|
|
|
I don't know the upper value that avoid the default throttling from 0365
|
|
|
|
|
and I guess it changes over time.
|
|
|
|
|
|
2020-04-11 01:15:57 +02:00
|
|
|
|
R3. For Exchange, in case throttle appears anyway, fix them with:
|
|
|
|
|
https://technet.microsoft.com/en-us/library/jj863577(v=exchg.150).aspx
|
|
|
|
|
See also:
|
|
|
|
|
http://www.linux-france.org/prj/imapsync_list/msg02072.html
|
|
|
|
|
|
|
|
|
|
Sometimes restarting the Exchange server is needed to take
|
|
|
|
|
into account the change in the configuration.
|
|
|
|
|
|
2019-07-03 01:17:46 +02:00
|
|
|
|
=======================================================================
|
|
|
|
|
Q. Office365 refuses to create the folder named "Files" with the error
|
|
|
|
|
"NO Folder name is reserved". What happens?
|
|
|
|
|
|
|
|
|
|
R. The folder Files is a standard folder in Office365. It should not
|
|
|
|
|
be synced in IMAP. See the next question.
|
|
|
|
|
|
|
|
|
|
=======================================================================
|
|
|
|
|
Q. Office365 users complain that a folder named "Files" contains
|
|
|
|
|
messages with no sender.
|
|
|
|
|
|
|
|
|
|
R0. To fix this, add --exclude Files
|
|
|
|
|
|
|
|
|
|
imapsync ... --exclude Files
|
|
|
|
|
|
2020-04-11 01:15:57 +02:00
|
|
|
|
If you use --office1 then imapsync will add this exclusion
|
|
|
|
|
automatically like using the option:
|
|
|
|
|
|
|
|
|
|
imapsync ... --exclude "^Files$"
|
|
|
|
|
|
|
|
|
|
If you use --office2 then imapsync will add a renaming of any
|
|
|
|
|
"Files" folder on host1, like using the option:
|
|
|
|
|
|
|
|
|
|
imapsync ... --f1f2 "Files=Files_renamed_by_imapsync"
|
|
|
|
|
|
|
|
|
|
The host2 account ends up with a folder named
|
|
|
|
|
"Files_renamed_by_imapsync", but no complaining.
|
|
|
|
|
|
2019-07-03 01:17:46 +02:00
|
|
|
|
R1. This folder "Files" seems to be a standard folder in Exchange Online,
|
|
|
|
|
but it is not. The folder contains all attachments in every email
|
|
|
|
|
that is in the mailbox, but without any headers.
|
|
|
|
|
This causes some confusion for users as these appear in their
|
|
|
|
|
search results as duplicate lines but without the sender details
|
|
|
|
|
or even the message body.
|
|
|
|
|
|
|
|
|
|
This folder seems to be usually hidden so IMAP clients can’t see it,
|
|
|
|
|
but for some reason sometimes it becomes visible.
|
|
|
|
|
|
|
|
|
|
R2. It looks to be a common problem with Exchange Online.
|
|
|
|
|
I’m not sure what causes the folder to appear.
|
|
|
|
|
|
|
|
|
|
More info here:
|
|
|
|
|
https://answers.microsoft.com/en-us/msoffice/forum/msoffice_o365admin-mso_exchon-mso_o365b/exclude-the-exchange-online-system-folder-called/2adbdf84-db4a-4c7f-ac29-738757980a0d
|
|
|
|
|
https://answers.microsoft.com/en-us/msoffice/forum/msoffice_o365admin-mso_dep365-mso_o365b/no-sender-emails-in-files-folder/534bae8f-a7d7-4f5f-8ed7-5bad0d5fa23f
|
|
|
|
|
|
|
|
|
|
(This question/answer is taken quasi verbatim from Perttu Aaltonen)
|
2016-09-19 17:15:41 +02:00
|
|
|
|
=======================================================================
|
|
|
|
|
Q. Exchange fails with "BAD Command received in Invalid state".
|
|
|
|
|
|
2019-07-03 01:17:46 +02:00
|
|
|
|
R1. This message might happen when authenticating without ssl nor tls,
|
|
|
|
|
wich is rare now since imapsync tries to do ssl then tls by default.
|
|
|
|
|
Add --tls1 or else --ssl1 if this error message comes from host1.
|
|
|
|
|
Add --tls2 or else --ssl2 if this error message comes from host2.
|
|
|
|
|
|
|
|
|
|
R2. This message might also happen when authenticating with ssl and tls.
|
|
|
|
|
Don't use --tlsX and --sslX on the same side X (1 or 2), since it
|
|
|
|
|
asks for a double encryption, an encryption inside an encryption.
|
|
|
|
|
It won't work, you can't do a direct double encryption, few
|
|
|
|
|
servers allow that.
|
2016-09-19 17:15:41 +02:00
|
|
|
|
|
2015-05-28 19:04:57 +02:00
|
|
|
|
=======================================================================
|
2015-12-03 18:16:32 +01:00
|
|
|
|
Q. From XXX to Exchange 2013 or Office365, read receipts are all
|
|
|
|
|
resent again after a sync. Even for old messages. How can I fix that?
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
|
|
|
|
R. imapsync can remove the header containing this read receipt request.
|
|
|
|
|
|
|
|
|
|
On Unix or Windows use:
|
|
|
|
|
|
|
|
|
|
imapsync ... --disarmreadreceipts
|
|
|
|
|
|
|
|
|
|
Since read receipts should be sent for unseen messages that will go
|
|
|
|
|
to a seen state after the migration, you could be strict and apply
|
|
|
|
|
the regex only to seen messages.
|
|
|
|
|
Selecting seen message can be done with:
|
|
|
|
|
|
|
|
|
|
imapsync ... --search1 "SEEN" --disarmreadreceipts
|
|
|
|
|
|
|
|
|
|
Of course a second run has to be run without the --disarmreadreceipts
|
|
|
|
|
for unseen messages:
|
|
|
|
|
|
|
|
|
|
imapsync ... --search1 "UNSEEN"
|
|
|
|
|
|
|
|
|
|
If fact --disarmreadreceipts is just an option equivalent to:
|
|
|
|
|
|
|
|
|
|
--regexmess 's{\A(.*?(?! ^$))^Disposition-Notification-To:(.*?)$}{$1X-Disposition-Notification-To:$2}igxms'
|
|
|
|
|
|
|
|
|
|
That regex changes the header Disposition-Notification-To. It prefixes
|
|
|
|
|
it with an X- so that it becomes inactive.
|
|
|
|
|
Disposition-Notification-To: blabla
|
|
|
|
|
becomes
|
|
|
|
|
X-Disposition-Notification-To: blabla
|
|
|
|
|
|
|
|
|
|
Thanks to David Karnowski for pointing and solving this issue.
|
|
|
|
|
|
2017-09-23 23:54:48 +02:00
|
|
|
|
=======================================================================
|
|
|
|
|
Q. DEBUG: IO/Socket/SSL.pm:1043: local error: SSL read error
|
|
|
|
|
DEBUG: IO/Socket/SSL.pm:1043: local error: SSL read error
|
|
|
|
|
|
|
|
|
|
R1. "SSL read or write error" happens sometimes, it isn't related to
|
|
|
|
|
imapsync directly but to the ssl underlying library when communicating
|
|
|
|
|
with Exchange in TLS/SSL encrypted mode.
|
|
|
|
|
Next runs should put the sync further, so rerun the syncs
|
|
|
|
|
until it is well completed.
|
|
|
|
|
|
|
|
|
|
R2. Another solution is to remove --tls or --ssl options for Exchange
|
|
|
|
|
and accept a clear text sync.
|
|
|
|
|
|
2019-07-03 01:17:46 +02:00
|
|
|
|
R3. See also the FAQ FAQ.SSL_errors.txt
|
|
|
|
|
https://imapsync.lamiral.info/FAQ.d/FAQ.SSL_errors.txt
|
|
|
|
|
|
2015-05-28 19:04:57 +02:00
|
|
|
|
=======================================================================
|
|
|
|
|
Q. From XXX to Exchange 2010/2013 or Office365 I get this error message
|
2015-12-03 18:16:32 +01:00
|
|
|
|
sometimes: "BAD Command Argument Error 11". What does it mean?
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
|
|
|
|
R. This error message comes from Exchange IMAP server when it
|
|
|
|
|
encounters any problem. Most of the time it is one of the following:
|
|
|
|
|
|
|
|
|
|
* Some messages are bigger than the size limit. 10 MB by default
|
|
|
|
|
on Exchange. It can be upped by configuration for Exchange.
|
2016-09-19 17:15:41 +02:00
|
|
|
|
Sometimes a reboot is needed to take configuration changes
|
|
|
|
|
into account.
|
2016-01-22 17:52:28 +01:00
|
|
|
|
If you can't fix this limit on Exchange then use option
|
2015-05-28 19:04:57 +02:00
|
|
|
|
--maxsize 10000000 for 10 MB, change it if needed) to tell
|
|
|
|
|
imapsync to skip those messages.
|
2016-01-22 17:52:28 +01:00
|
|
|
|
This value is 45 MB by default for Office365
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
|
|
|
|
imapsync ... --maxsize 10000000 # 10 MB for Exchange
|
|
|
|
|
|
2016-01-22 17:52:28 +01:00
|
|
|
|
imapsync ... --maxsize 45000000 # 45 MB for Office365
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Quota reached. The whole account is full.
|
|
|
|
|
It can be upped by configuration.
|
|
|
|
|
|
|
|
|
|
* Some messages have some lines too long. Use option --maxlinelength
|
|
|
|
|
to skip messages whose max line length is over a number of bytes.
|
|
|
|
|
--maxlinelength 1000 is a RFC2822 must but most server support
|
2016-01-22 17:52:28 +01:00
|
|
|
|
higher values.
|
|
|
|
|
Exchange supports 9900 characters line length:
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
|
|
|
|
imapsync ... --maxlinelength 9900
|
|
|
|
|
|
2016-01-22 17:52:28 +01:00
|
|
|
|
Office365 supports 10500 characters line length:
|
|
|
|
|
|
|
|
|
|
imapsync ... --maxlinelength 10500
|
|
|
|
|
|
2015-12-03 18:16:32 +01:00
|
|
|
|
In case you prefer fixing messages with long lines the hard way,
|
|
|
|
|
instead of skipping them with --maxlinelength 9900, just use:
|
|
|
|
|
|
|
|
|
|
On Windows
|
|
|
|
|
imapsync ... --regexmess "s,(.{9900}),$1\r\n,g"
|
|
|
|
|
|
|
|
|
|
On Unix
|
|
|
|
|
imapsync ... --regexmess 's,(.{9900}),$1\r\n,g'
|
|
|
|
|
|
2015-05-28 19:04:57 +02:00
|
|
|
|
Have also in mind that Exchange closes the connection after 10 errors
|
|
|
|
|
encountered so you might also see "BYE Connection closed" errors from
|
|
|
|
|
Exchange, which means Exchange leaves the session and say goodbye,
|
|
|
|
|
come back later. Rerun a sync then.
|
|
|
|
|
|
2020-04-11 01:15:57 +02:00
|
|
|
|
On Linux, there is a good Python script in the tarball that can
|
2019-07-03 01:25:47 +02:00
|
|
|
|
fix several things that Exchange or O365 have issues with.
|
|
|
|
|
|
|
|
|
|
Use it like this:
|
|
|
|
|
|
|
|
|
|
./imapsync ... --pipemess W/tools/fix_email_for_exchange.py
|
|
|
|
|
|
|
|
|
|
It often does some miracles on messages.
|
|
|
|
|
|
2015-05-28 19:04:57 +02:00
|
|
|
|
=======================================================================
|
|
|
|
|
Q. From XXX to Exchange 2010 or 2013 or Office365 the flag Flagged does
|
2015-12-03 18:16:32 +01:00
|
|
|
|
not seem to be well synced. What can I do?
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
|
|
|
|
R. Use the following trick. Run imapsync twice, one with --regexflag
|
|
|
|
|
and one without, like this:
|
|
|
|
|
|
|
|
|
|
1) imapsync ... --regexflag "s/\\Flagged//g"
|
|
|
|
|
2) imapsync ...
|
|
|
|
|
|
|
|
|
|
You can add --debugflags if you want to see what imapsync gets and
|
|
|
|
|
does in details with flags.
|
|
|
|
|
|
|
|
|
|
The magic of this trick is on ignoring the \Flagged flag on the first
|
|
|
|
|
sync and setting it on the second sync, with STORE instead of APPEND.
|
|
|
|
|
This Exchange bug seems that Exchange gets and sets well the Flagged
|
|
|
|
|
flag with APPEND in IMAP but then it forgets it with other protocols;
|
|
|
|
|
With STORE it sets and gets the "\Flagged" flag everywhere.
|
|
|
|
|
|
|
|
|
|
Thanks to Dave Murray and Simon Savva for reporting and solving
|
|
|
|
|
this issue.
|
|
|
|
|
|
|
|
|
|
======================================================================
|
2016-09-19 17:17:24 +02:00
|
|
|
|
Q. How to migrate from or to Exchange 2007/2010/2013 with an
|
2015-05-28 19:04:57 +02:00
|
|
|
|
admin/authuser account?
|
|
|
|
|
|
|
|
|
|
R. The tricks comes from Michele Marcionelli and Benjamin Priestman:
|
|
|
|
|
|
|
|
|
|
This doesn't work:
|
|
|
|
|
imapsync ... --user2 user2 --authuser2 admin2 --password2 adminpassword2 ...
|
|
|
|
|
|
|
|
|
|
This might works:
|
|
|
|
|
imapsync ... --user2 "domain\admin2\user2" --password2 adminpassword2 ...
|
|
|
|
|
or
|
|
|
|
|
imapsync ... --user2 "admin2@domain\user2" --password2 adminpassword2 ...
|
|
|
|
|
|
|
|
|
|
where "domain" is set be the user's UPN in Active Directory
|
|
|
|
|
or the NETBIOS or DNS name of the domain.
|
|
|
|
|
|
|
|
|
|
The exact format might vary depending on local configuration and you
|
|
|
|
|
should experiment with the different formats.
|
|
|
|
|
|
|
|
|
|
PLAIN authentication is the only way to go with --authuser1 for now.
|
|
|
|
|
So don't use --authmech1 SOMETHING with --authuser1 admin_user,
|
|
|
|
|
it will not work.
|
|
|
|
|
Same behavior with the --authuser2 option.
|
|
|
|
|
|
|
|
|
|
A little note from Michael Scherer.
|
|
|
|
|
The previous workaround in the FAQ seems to be obsolete.
|
|
|
|
|
I can confirm that
|
|
|
|
|
|
|
|
|
|
imapsync ... --host2 exchange_server \
|
|
|
|
|
--authuser2 admin@domain --user2 user_alias
|
|
|
|
|
|
|
|
|
|
is working without any glitches, running Exchange 2010 SP2 here.
|
|
|
|
|
Explanation, Exchange knows a) about a username
|
|
|
|
|
and b) about a mailNickname which can be different to the username.
|
|
|
|
|
As it seems you need to use the mailNickname (e.g. alias) defined
|
|
|
|
|
for user2, not the username itself.
|
|
|
|
|
http://blogs.technet.com/b/exchange/archive/2004/03/31/105275.aspx
|
|
|
|
|
|
|
|
|
|
A little note from John Becker.
|
|
|
|
|
After you pointed out that I had issues with authorization, I realized that
|
|
|
|
|
as an admin user I don't have all the rights on the mailboxes.
|
|
|
|
|
So I added myself to the user mailbox with full rights.
|
|
|
|
|
I also changed the login type on the Exchange CAS to type 1, plain text.
|
|
|
|
|
The command that I used for imapsync is:
|
|
|
|
|
imapsync ... ^
|
|
|
|
|
--host2 exchange-server ^
|
|
|
|
|
--user2 "windows-domain\admin-user\aaaa" ^
|
|
|
|
|
--password2 admin-password ...
|
|
|
|
|
|
2019-07-03 01:17:46 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
======================================================================
|
|
|
|
|
Q. How to migrate from or to Exchange 2016 with an admin/authuser account?
|
|
|
|
|
|
|
|
|
|
R. This might work:
|
|
|
|
|
|
|
|
|
|
imapsync ... --user2 user2 --authuser2 admin2 --password2 adminpassword2 ...
|
|
|
|
|
|
|
|
|
|
Note from
|
|
|
|
|
https://github.com/imapsync/imapsync/issues/136#issuecomment-397020248
|
|
|
|
|
|
|
|
|
|
The key is to not use the built-in Administrator account which
|
|
|
|
|
Microsoft seems to have blocked access to in imap.
|
|
|
|
|
I'm doing a sync to Exchange 2016 accounts and this works:
|
|
|
|
|
|
|
|
|
|
imapsync ... --ssl2 --user2 account@domain.com ^
|
|
|
|
|
--authuser2 accountwfullaccess@domain.com ^
|
|
|
|
|
--password2 "accountwfullaccesspw"
|
|
|
|
|
|
|
|
|
|
The admin account you use needs to have full access to the account(s)
|
|
|
|
|
you want to sync which you can setup in the gui or via powershell
|
|
|
|
|
and again - don't use administrator@domain.com - as that will never
|
|
|
|
|
work because IMAP LOGIN is disabled for that account apparently
|
|
|
|
|
under all circumstances.
|
|
|
|
|
|
2020-04-11 01:15:57 +02:00
|
|
|
|
Note from Noxyron
|
|
|
|
|
https://github.com/imapsync/imapsync/issues/136#issuecomment-543761463
|
|
|
|
|
|
|
|
|
|
Hi guys. For a long time I could not start synchronization, I use admin rights
|
|
|
|
|
and the --authuser2 switch when I migrated from Mdaemon to Exchange2016.
|
|
|
|
|
I always got the error:
|
|
|
|
|
"Host2 failure: Error login on [my.exchange.com] with user [mydomainuser] auth [PLAIN]: 2 NO AUTHENTICATE failed."
|
|
|
|
|
In order for ImapSync to login to the user’s mailbox using administrator rights,
|
|
|
|
|
you need to give for the administrator the permissions to the mailbox of this
|
|
|
|
|
user with the command:
|
|
|
|
|
“Add-MailboxPermission -Identity DomainUser -User DomainAdmin -AccessRights FullAccess -InheritanceType All -AutoMapping $false”
|
|
|
|
|
using Exchange Management Shell.
|
|
|
|
|
Without this, synchronization will not work.
|
|
|
|
|
Please, add this comment to the FAQ.Exchange.txt
|
|
|
|
|
(done!)
|
|
|
|
|
|
2015-05-28 19:04:57 +02:00
|
|
|
|
======================================================================
|
|
|
|
|
Q. How to migrate from or to Office 365 with an admin/authuser account?
|
|
|
|
|
|
|
|
|
|
Note from Yago Torres Fernandez:
|
|
|
|
|
(a working command using admin/authuser on host2 Office 365)
|
|
|
|
|
|
|
|
|
|
imapsync ... --authuser2 user_admin@domain.com --user2 user_to_be_migrated@domain.com ^
|
2016-09-19 17:17:24 +02:00
|
|
|
|
--password2 XXXX --ssl2 ^
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
2019-07-03 01:17:46 +02:00
|
|
|
|
but previously in Office365 you must do something like that, using powershell:
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
|
|
|
|
Add-MailboxPermission -identity user_to_be_migrated@domain.com -user user_admin@domain.com -accessrights fullaccess -inheritancetype all
|
|
|
|
|
|
|
|
|
|
PLAIN authentication is the only way to go with --authuser1 for now.
|
|
|
|
|
So don't use --authmech1 SOMETHING with --authuser1 admin_user,
|
|
|
|
|
it will not work.
|
|
|
|
|
Same behavior with the --authuser2 option.
|
|
|
|
|
|
2017-09-23 23:54:48 +02:00
|
|
|
|
Note from Martin Paulucci:
|
|
|
|
|
I had to remove the domain part for the user
|
|
|
|
|
but not for the admin. Example:
|
|
|
|
|
|
|
|
|
|
imapsync ... --authuser2 user_admin@domain.com --user2 user_to_be_migrated
|
|
|
|
|
|
2015-08-04 03:44:40 +02:00
|
|
|
|
See also:
|
|
|
|
|
http://www.linux-france.org/prj/imapsync_list/msg02203.html
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
|
|
|
|
======================================================================
|
|
|
|
|
Q. How to migrate from or to Exchange 2003 with an admin/authuser
|
|
|
|
|
account?
|
|
|
|
|
|
|
|
|
|
R. Thomas Edgar wrote the following
|
|
|
|
|
|
|
|
|
|
In case you can glean something from this snippet which allowed us
|
|
|
|
|
to migrate from Exchange 2003 t0 Cyrus Imap 2.4 (you would reverse
|
|
|
|
|
the flow to go the other way):
|
|
|
|
|
|
|
|
|
|
imapsync --dry --host1 ExchangeServer.mycompany.com \
|
|
|
|
|
--user1 Some.User@mycompany.com --authuser1 ExchangeAdminAccount \
|
|
|
|
|
--proxyauth1 --password1 '$pass_with_dollars$' \
|
|
|
|
|
--host2 cyrusimapbackend.mycompany.com \
|
|
|
|
|
--user2 SameOrDiffererentUser@mycompany.com \
|
|
|
|
|
--authuser2 CyrusAdminAccount --password2 CyrusAdminPassword
|
|
|
|
|
|
|
|
|
|
We also needed to:
|
|
|
|
|
|
|
|
|
|
- Ensure the Exchange Admin Acct had IMAP4 enabled in it's
|
|
|
|
|
profile (it initially didn't!)
|
|
|
|
|
- Ensure the Some.User Exchange Acct had IMAP4 enabled
|
|
|
|
|
in it's profile (it initially didn't!)
|
|
|
|
|
- Add the CyrusAdminAccount to admins line in /etc/imapd.conf
|
|
|
|
|
- Give CyrusAdminAccount lrswipkxtecda to the Cyrus Imap account
|
|
|
|
|
being migrated to (- or in your case, from)
|
|
|
|
|
|
|
|
|
|
In case you are not aware:
|
|
|
|
|
|
|
|
|
|
- It will prompt for a password if you don't supply it
|
|
|
|
|
- the domain part of the fully-qualified email could be
|
|
|
|
|
omitted in our case
|
|
|
|
|
- Use --debugimap when testing initial connectivity, if necessary
|
|
|
|
|
|
|
|
|
|
=======================================================================
|
2015-12-03 18:16:32 +01:00
|
|
|
|
Q. Couldn't create folder [trash] "Mailbox already exists".
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
|
|
|
|
R. Some servers take care about character case in folder names,
|
|
|
|
|
some servers do not, like Exchange. Since non-respecting case
|
|
|
|
|
can merge two different folders into one then imapsync respects case.
|
|
|
|
|
|
|
|
|
|
For example, if a host1 server has a folder name called "trash"
|
|
|
|
|
and the host2 server already has a folder "Trash" or "TRASH"
|
|
|
|
|
then imapsync will try to create the folder "trash" on host2,
|
|
|
|
|
because trash and Trash are different strings. But if host2
|
|
|
|
|
does not respect character case it will consider folder "trash"
|
|
|
|
|
already exists and will say it, that's the error message
|
|
|
|
|
reported by imapsync: "Mailbox already exists", message coming
|
|
|
|
|
from the server.
|
|
|
|
|
|
|
|
|
|
The folder creation fails but messages are well transferred in
|
|
|
|
|
so take a look at this warning, understand why it happens
|
|
|
|
|
and it should be fine most of the time.
|
|
|
|
|
|
|
|
|
|
To avoid this warning use --regextrans2 to map the folder names
|
|
|
|
|
|
|
|
|
|
imapsync ... --regextrans2 "s/^trash$/Trash/"
|
|
|
|
|
|
|
|
|
|
If there are two folders Trash and trash on host1 then both
|
|
|
|
|
will be merge into only one Trash folder on host2.
|
|
|
|
|
In case option --delete2 is used the regextans2 above becomes
|
|
|
|
|
mandatory, otherwise imapsync will sync messages from the
|
|
|
|
|
first Trash and then delete them when syncing trash.
|
|
|
|
|
|
2015-12-03 18:16:32 +01:00
|
|
|
|
In order to avoid merging folders that are considered different
|
|
|
|
|
on host1 but the same on destination host2 because of case
|
|
|
|
|
sensitivities and insensitivities, use --nomixfolders
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
|
|
|
|
======================================================================
|
|
|
|
|
Q. Migrating to Exchange 201O, messages get date of the transfer,
|
2015-12-03 18:16:32 +01:00
|
|
|
|
this is bad for sorting and listing. What can I do?
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
|
|
|
|
R1. Be sure to have at least Exchange 2010 SP2 Rollup 5
|
|
|
|
|
http://www.tribalchicken.com.au/15-technical/29-imapsync-exchange2010
|
|
|
|
|
|
|
|
|
|
R2. See also the Outlook side (thanks to Martin Hochreiter for this solution)
|
|
|
|
|
http://www.howto-outlook.com/faq/archivenotworking.htm
|
|
|
|
|
by changing Archive to sent/receive date
|
|
|
|
|
|
|
|
|
|
It's often shorter to change one server than thousands clients
|
|
|
|
|
so R1 might be easier to do.
|
|
|
|
|
|
|
|
|
|
======================================================================
|
2020-04-11 01:15:57 +02:00
|
|
|
|
Q. How to sync from any to Exchange 2007?
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
|
|
|
|
Several problems:
|
|
|
|
|
- Big messages: increase the "send- and receive-connector"
|
|
|
|
|
in exchange2007 to 40 MB.
|
|
|
|
|
|
|
|
|
|
R. 2 solutions
|
|
|
|
|
|
|
|
|
|
R1. With imapsync (only partial success)
|
|
|
|
|
--skipheader 'Received' \
|
|
|
|
|
--regexmess 's{\A(.*?(?!^$))^Date:(.*?)$}{$1Date:$2\nReceived: From; $2}gxms'
|
2020-04-11 01:15:57 +02:00
|
|
|
|
Any user having time to spend to debug Exchange 2007 with imapsync
|
2015-05-28 19:04:57 +02:00
|
|
|
|
is welcome.
|
|
|
|
|
|
|
|
|
|
R2. Other solution
|
|
|
|
|
Two users succeeded by using "MS Transporter Suite" (which is closed
|
|
|
|
|
expensive non-free software).
|
|
|
|
|
|
2020-04-11 01:15:57 +02:00
|
|
|
|
=======================================================================
|
|
|
|
|
Q. Exchange 2007 folders ending with a space cause an imapsync crash.
|
|
|
|
|
"Could not select: socket closed while reading data from server"
|
|
|
|
|
|
|
|
|
|
R. Using another imap tool like Thunderbird or Outlook, change the
|
|
|
|
|
folder name to exclude the trailing space.
|
|
|
|
|
|
|
|
|
|
See https://github.com/imapsync/imapsync/issues/154
|
|
|
|
|
|
2015-05-28 19:04:57 +02:00
|
|
|
|
======================================================================
|
2015-12-03 18:16:32 +01:00
|
|
|
|
Q. How to sync from Microsoft Exchange 2000 IMAP4rev1 server?
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
2015-12-03 18:16:32 +01:00
|
|
|
|
R. imapsync ... --prefix1 "INBOX."
|
2015-05-28 19:04:57 +02:00
|
|
|
|
|
|
|
|
|
|
2015-12-03 18:16:32 +01:00
|
|
|
|
=======================================================================
|
2017-09-23 23:54:48 +02:00
|
|
|
|
=======================================================================
|