Warning: session_start(): open(/tmp/sess_vfbukudbu93ed5uooqs0k6c6r7, O_RDWR) failed: No space left on device (28) in /www/H01/htdocs/lib/base/lib_base.php on line 280
airsyncDownload openDesktop.org
-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans  .- Knowledge Base  . 

airsyncDownload

   1.4  

Qt Mail Application

Score 50%
Downloads:  162
Submitted:  Apr 13 2013
Updated:  Oct 19 2013

Description:

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




Changelog:

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




LicenseGPL
Send to a friend
Subscribe
Other  Content  from mkoller
Report inappropriate content



-

 wbxml.h not found

 
 by acidrums4 on: Apr 14 2013
 
Score 50%

Got this when compiling:

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.


Reply to this

-

 Re: wbxml.h not found

 
 by mkoller on: Apr 14 2013
 
Score 50%

The READE tells you you'll need libwbxml2
http://libwbxml.opensync.org/

You normally need to install the development package of it, e.g. here on my openSuse it is libwbxml2-devel


Martin
Reply to this

-

 Seems to fail when more than one server is active

 
 by jerome127 on: Sep 27 2013
 
Score 50%

Hello, thanks for this tool, it works great for me, or at least it worked great until recently :-( One day the IT team at my place added one server for redundancy and when the second server is enabled then airsyncdownload does not work. This is reproducible. I had the IT guy just next to me, switching on and off the additional server from the web administration page of their Exchange 2013 setup. When the additional server is active, here is an example output :

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


Reply to this

-

 Re: Seems to fail when more than one server is act

 
 by mkoller on: Sep 27 2013
 
Score 50%

The error tells you that the connection could not be established because of SSL errors, e.g. illegal certificates, etc.
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.


Martin
Reply to this

-
.

 [SOLVED]Seems to fail when more than one server is

 
 by jerome127 on: Sep 28 2013
 
Score 50%

Thanks for the update, airsyndownload 1.2 works for me. Just for your information the SLL error follows. (in --debug)

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


Reply to this

-

 Timeout

 
 by jerome127 on: Sep 28 2013
 
Score 50%

I use airsyndownload in a script that I run in the terminal. What still prevents me to add it in crontab is that the connection sometimes hangs (for unknown reasons ; it's not frequent so hard to test). I do not usually run airsyncdownload in --debug so I just face a hanged xterm with two options: either press ctrl-C (but the longer process time might be legitimate if it was slowly downloading an unusually large number of sizable attachments) or wait for a bit longer and face the same dilemma. What I could see until now is that after pressing ctrl-C, the next instance that I run manually works very fast as usual. So to me this means some packet got lost on the network and airsyncdownload would wait for it infinitely. The possibility of a hanged process (with an opened or locked mbox file on the disk which might cause problems at the next automatic execution) refrains me from executing airsyndownload without human supervision, which would be my goal -- automatically checking for emails as I do for regular POP/IMAP servers using getmail/procmail. Therefore I would like to know if there is a timeout that guarantees that airsyncdownload will actually terminate on connection problems (so I can set MAILCHECK or cron periodicity to a value strictly larger than the timeout), or if there could be a timeout in a future version. Thanks for your attention.


Reply to this

-

 Re: Timeout

 
 by mkoller on: Sep 28 2013
 
Score 50%

When it blocks/hangs - does it ever come back with any error ?
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.


Martin
Reply to this

-

 Re: Re: Timeout

 
 by jerome127 on: Sep 28 2013
 
Score 50%

I don't remember of specific errors, I think I always I stopped it after 5 min of inactivity. I'll use version 1.3 from now on, however it can take days before this problem appears again (if it ever does). If I see anything I'll let you know. Thanks for the very fast support.


Reply to this

-

 libwbxml update

 
 by jerome127 on: Jan 10 2015
 
Score 50%

My linux distro upgraded libwbxml from 0.9.2 to 0.11.2 and airsyndownload stopped compiling (complaining about class WBXMLTree). If course I locally compiled the old version of the lib so that I can still use airsyncdownload, but if could find some time it would be great if you could update your code to compile against current version of the lib. Thanks!


Reply to this

Add commentBack




-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team