Author Topic: IMAP compression.  (Read 2233 times)

H2Om

  • Newbie
  • *
  • Posts: 49
IMAP compression.
« on: March 26, 2017, 10:17:40 am »
Latest Pro version from Google Play (nothing sideloaded)
Using IMAP on Gmail

After spending hours, including reinstalls, to have AM properly sync and display the number of messages I don't want to mess it up again.

I know what data compression is and how it could benefit me. At least I think I am.....

The way I understand it compression reduces data usage and also is faster on slow connections.
Many people struggle to stay within their monthly data allowance so I wonder why this option isn't on by default?
Is the only reason that some servers don't support compression?
If that is the only reason perhaps AM could turn compression on by default for servers that support it. Yeah, I'm aware it's impossible for the developers to know every sever in the world, but my guess guess is that a large number of users uses one of the big ones, Yahoo, Google and Microsoft.


Additional question:  What is 'Other'?  (Mobile data, WiFi, Other)
« Last Edit: March 26, 2017, 10:21:41 am by H2Om »

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: IMAP compression.
« Reply #1 on: March 26, 2017, 01:50:49 pm »
Other is just not mobile data and not WiFi -- when AQM asks Android "what's our current connection type" is gets back one of these values:

https://developer.android.com/reference/android/net/NetworkInfo.html#getType()

So in theory, "other" could be bluetooth (tethering), or WiMax, or even Ethernet.

Compression can be detected so that's not the problem - it just may be broken on the server (who knows?)
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

H2Om

  • Newbie
  • *
  • Posts: 49
Re: IMAP compression.
« Reply #2 on: March 26, 2017, 02:04:50 pm »
That's clear.
So compression for Gmail will work. With the (tiny) possibility Google has (temporary) problems with their servers.
Will AquaMail inform me of problems? Or even automatically retry without compression?

Just curious about the amount of data saved, does AM keep stats of the compression ratio?

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: IMAP compression.
« Reply #3 on: March 26, 2017, 07:37:44 pm »
It's about 50% reduction or so.

A few users reported that it improves responsiveness on high-latency mobile networks (not everyone has LTE).

RE: "possible problems" - IMAP compression is not exclusive to Gmail. No it won't retry, that would take additional work.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/