forked from imapsync/imapsync
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
502 additions
and
1,143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/cat | ||
# $Id: FAQ,v 1.130 2013/04/17 12:46:10 gilles Exp gilles $ | ||
# $Id: FAQ,v 1.133 2013/05/06 08:17:13 gilles Exp gilles $ | ||
|
||
+------------------+ | ||
| FAQ for imapsync | | ||
|
@@ -359,16 +359,18 @@ Q. We have found that the sent time and date have been changed to the | |
|
||
R. This is the case with: | ||
- Eudora | ||
- Zimbra | ||
- Outlook 2003 | ||
- Gmail | ||
but not with | ||
but not with | ||
- Mutt | ||
- Thunderbird | ||
and no longer with | ||
- Zimbra | ||
- Gmail | ||
|
||
|
||
Eurora shows by default the time the imap server received the email. I | ||
think it is quite a wrong behavior since the messages can have | ||
travelled some time before the reception. | ||
traveled some time before the reception. | ||
|
||
The sent time and date are given by the "Date:" header and it is set | ||
most of the time by the MUA (Mail User Agent, Mutt, Eudora, | ||
|
@@ -1448,7 +1450,6 @@ R. Gmail needs SSL | |
./imapsync \ | ||
--host1 imap.gmail.com \ | ||
--ssl1 \ | ||
--authmech1 LOGIN \ | ||
--user1 [email protected] \ | ||
--password1 gmailsecret \ | ||
--exitwhenover 2500000000 \ | ||
|
@@ -1470,6 +1471,43 @@ exceed maximum limit. | |
See http://support.google.com/a/bin/answer.py?hl=en&answer=1071518 | ||
|
||
|
||
======================================================================= | ||
Q. How to use XOAUTH to globally authenticate gmail users? | ||
The XOAUTH code and this FAQ item come from Eduardo Bortoluzzi | ||
Thanks Eduardo! | ||
|
||
R. The goal of OAUTH is to migrate all users from/to Google Apps | ||
Premier Edition without knowing their passwords. | ||
|
||
The global password is available at the Google Apps control panel, | ||
at Advanced Tools -> Manage OAuth domain key. | ||
|
||
./imapsync \ | ||
--host1 imap.gmail.com --ssl1 \ | ||
--user1 [email protected] \ | ||
--password1 secret1 \ | ||
--authmech1 XOAUTH \ | ||
--host2 imap.gmail.com --ssl2 \ | ||
--user2 [email protected] \ | ||
--password2 secret2 \ | ||
--authmech2 XOAUTH | ||
|
||
Google Apps is a paid service, but you can try it for 30 days without any cost. | ||
|
||
Some notes about configuring the Google Apps XOAUTH: | ||
|
||
On "Advanced Tools > Manage OAuth domain key > Two-legged OAuth access control" | ||
the "Allow access to all APIs" must be checked | ||
(https://support.google.com/a/bin/answer.py?answer=162105) | ||
|
||
OR | ||
|
||
On "Advanced Tools > Manage third party OAuth client access", | ||
the configured costumer key must have the scope | ||
"https://mail.google.com/" configured | ||
(https://support.google.com/a/bin/answer.py?answer=162106). | ||
|
||
|
||
======================================================================= | ||
Q. migrate email from gmail to google apps | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
# $Id: Makefile,v 1.116 2013/04/18 01:24:25 gilles Exp gilles $ | ||
# $Id: Makefile,v 1.118 2013/05/14 05:59:55 gilles Exp gilles $ | ||
|
||
.PHONY: help usage all | ||
|
||
|
@@ -13,13 +13,15 @@ usage: | |
@echo "make test_quick # few tests verbosely" | ||
@echo "make tests_win32 # run tests on win32" | ||
@echo "make tests_win32_dev # run test2.bat on win32" | ||
@echo "make prereq_win32 # run W/install_modules.bat on win32" | ||
@echo "make all " | ||
@echo "make upload_index" | ||
@echo "make upload_ks" | ||
@echo "make imapsync.exe" | ||
@echo "make imapsync_elf_x86.bin" | ||
@echo "make publish" | ||
|
||
|
||
PREFIX ?= /usr | ||
DIST_NAME=imapsync-$(VERSION) | ||
DIST_FILE=$(DIST_NAME).tgz | ||
|
@@ -145,6 +147,9 @@ test_imapsync_exe: dosify_bat | |
scp W/test_exe.bat Admin@c:'C:/msys/1.0/home/Admin/imapsync/' | ||
time ssh Admin@c 'C:/msys/1.0/home/Admin/imapsync/test_exe.bat' | ||
|
||
prereq_win32: imapsync examples/install_modules.bat .dosify_bat | ||
scp examples/install_modules.bat Admin@c:'C:/msys/1.0/home/Admin/imapsync/' | ||
time ssh Admin@c 'C:/msys/1.0/home/Admin/imapsync/install_modules.bat' | ||
|
||
imapsync.exe: imapsync W/build_exe.bat .dosify_bat | ||
rcsdiff imapsync | ||
|
@@ -257,7 +262,7 @@ ksa: | |
rsync -avHz --delete -P \ | ||
. [email protected]:public_html/imapsync/ | ||
|
||
publish: upload_ks ksa ml | ||
publish: ksa upload_ks ml | ||
|
||
PUBLIC_FILES = ./ChangeLog ./NOLIMIT ./LICENSE ./CREDITS ./FAQ \ | ||
./index.shtml ./INSTALL \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.536 | ||
1.542 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.536 | ||
1.542 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
|
||
REM $Id: build_exe.bat,v 1.11 2012/12/24 02:25:55 gilles Exp gilles $ | ||
REM $Id: build_exe.bat,v 1.12 2013/05/06 08:16:26 gilles Exp gilles $ | ||
REM | ||
|
||
echo Building imapsync.exe | ||
cd C:\msys\1.0\home\Admin\imapsync | ||
perl -mMail::IMAPClient -mIO::Socket -mIO::Socket::SSL ^ | ||
-mDigest::MD5 -mDigest::HMAC_MD5 ^ | ||
-mDigest::MD5 -mDigest::HMAC_MD5 -mDigest::HMAC_SHA1 ^ | ||
-mTerm::ReadKey -mFile::Spec -mAuthen::NTLM ^ | ||
-mTime::Local ^ | ||
-mTime::Local -mURI::Escape -mData::Uniqid^ | ||
-e '' | ||
|
||
pp -o imapsync.exe --link libeay32_.dll --link libssl32_.dll ^ | ||
-M Mail::IMAPClient -M IO::Socket -M IO::Socket::SSL ^ | ||
-M Digest::MD5 -M Digest::HMAC_MD5 ^ | ||
-M Digest::MD5 -M Digest::HMAC_MD5 -M Digest::HMAC_SHA1 ^ | ||
-M Term::ReadKey -M Authen::NTLM ^ | ||
-M Time::Local ^ | ||
-M Time::Local -M URI::Escape -M Data::Uniqid ^ | ||
imapsync | ||
|
||
echo Done building imapsync.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.