
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
This little tool downloads your emails from
an Exchange Server and stores them in a local mbox file.
Optionally the mails can be kept on the server.
It uses the Exchange ActiveSync protocol.
See http://en.wikipedia.org/wiki/Airsync
configuration: see airsyncDownload --help
17.06.2018: 1.5 2 years ago
Ported to Qt5 and wbxml 0.11.5
17.06.2018: 1.5 2 years ago
Ported to Qt5 and wbxml 0.11.5
7 years ago
19.10.2013: 1.4
Up till now airsyncDownload held the lock of the mbox file from the start until it had downloaded all mails from one folder. This was a problem when used in combination with kmail (but might be the same problem for other mail clients also using procmail locking with the lockfile command) as kmail force-removed the lockfile after some timeout.
The solution is now that airsyncDownload stores all downloaded mails into a tmp mailbox and only after finishing the download it locks the final mbox, appends all newly downloaded mails and removes the lock and the tmp mbox.
28.9.2013: 1.3
- also exit eventLoop (waiting for a reply) when we receive an error signal
27.9.2013: 1.2
- show SSL errors but ignore them
7.5.2013: 1.1
- always send the same deviceId
- new options to download one specific or all mail folders
jerome127
6 years ago
Report
jerome127
7 years ago
Report
mkoller
7 years ago
I've now added an additional handling when Qt sends me an error signal but without a finished() signal (but I don't know if that is even possible)...please test with the latest version 1.3 I've now uploaded.
If that still does not solve your issue, then I might need to implement a timer which forces an abort of the communication.
Report
jerome127
7 years ago
Report
jerome127
7 years ago
$ airsyncDownload --allFolders --debug
[... I removed the long query ... ]
sent ...
received ...
HTTP result code: 0
ERROR:SSL handshake failed
https://webmail.XXXXXXX/Microsoft-Server-ActiveSync?User=YYYYYYYYYYYYYYY&DeviceId=8adff2aa57c5419ea93a5ba1e4a7bfa2&DeviceType=SP&Cmd=Provision
ERROR: could not parse XML data
(XXXX and YYYY edited by me)
Meanwhile ExQuilla (proprietary Thunderbird extension) on the same linux computer works without trouble in all cases. Do you have suggestions for this? I'm available for tests if needed.
Report
mkoller
7 years ago
I've uploaded a newer version where I dump the SSL errors in detail (always the first and with -debug all of them) but also in addition I always ignore SSL errors so the download should continue but you should really check the SSL errors.
Report
jerome127
7 years ago
Quote:
sent ...
SSL Error:%sThe issuer certificate of a locally looked up certificate could not be found
SSL Error:%sThe root CA certificate is not trusted for this purpose
SSL Error:%sNo certificates could be verified
received ...
Report
acidrums4
7 years ago
Session.cxx:21:19: error fatal: wbxml.h: File or directory not found
What package I'm missing? I'm trying under Gentoo GNU/Linux.
Report
mkoller
7 years ago
http://libwbxml.opensync.org/
You normally need to install the development package of it, e.g. here on my openSuse it is libwbxml2-devel
Report