Author Topic: turning off ALL syncs  (Read 1924 times)

Hobbes2099

  • Newbie
  • *
  • Posts: 23
turning off ALL syncs
« on: April 13, 2018, 08:43:14 pm »
so here's yet another case that is very particular to Microsoft Exchange. as always, please forgive the extensive preamble, but I believe it gives sufficient background to fully understand the problem and how I've tried to attack it.

My company requieres a password change every 60 days.
Personally, I question this strategy but that's a discussion for another day.

What I have noticed is that every 60 days, I go through a very complicated scenario because I have my Exhange account connected to 4 devices; my work PC with the traditional Outlook app for Windows and the vastly Aquamail application running on 3 Android devices; my Samsung S8+, my Xperia Z3 and my Xperia Z4.

when I change the password, I must change the password on my Aquamail devices immediately because otherwise Aquamail goes insane trying to connect after every failed attempt.

I don't know about all Exchange servers, but at least MY Exchange server does not like being proded repeatedly by 3 different devices every couple of seconds with a wrong password. After a few attempts, it just locks down the account regardless of the supplied password. I'm assuming it's some security feature. It puts my account on a time out for a few minutes (20 minutes I believe) and then the server is willing to accept proding again. Meanwhile, Aquamail has been sending login requests non stop throughout all this time.

I honestly do my best to schedule my password change so I can have all of my devices in front of me so that the described probing is reduced to an impolite minimum. As you might imagine, the plan of mice and men, etc, etc.

There's no "easy fix" that I can think of, but what I have noticed in my latest syncronized password updating dance, is that long pressing the email account > "Options and Folders" > "Account Options" > "Scheduled Sync" and "Push Email" only stop the Aquamail from reaching out to the server for emails and only emails (duh).

The problem is that Aquamail also reaches out to the server to sync Calendar and Contacts.
those setting are available by

long pressing the email account > "Options and Folders" > "Exchange Options"
there's the options for Contacts and Calendars.

The problem is that if I turn those off in order to give my server some "breathing space", Aquamail will erase my calendar and/or contacts.


------------------- TL:DR; -------------------
So long story short; could Aquamail, for Exchange accounts find a way to group together all the reasons why it should try to reach out to the server? that way, if I want it take off Push settings (weekend, vacation, my server is annoying),  only have to click once and not have to erase and re-sync because of my ridiculous security policies.

And yes, I have BEGGED my IT guys to change their dumb-ass policy.

As alway, love the product. It's the BEST email app I've ever used. It only keeps getting better.

PS: please don't forget about my  "send emails only at human hours" suggestion where email after a certain hour automatically become queued for the next morning.

thanks!!!

Sent from my SGP771 using Tapatalk


Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: turning off ALL syncs
« Reply #1 on: April 13, 2018, 10:04:05 pm »
A one-time or even several failed login attempts don't necessarily mean that the app should keep trying...

Can you ask your IT how they expect mail apps (and users) to handle this?

What if you had Outlook for Windows (every IT department's pet app) failing to log in - trying to sync - failing to log in - trying to sync etc.?
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/

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: turning off ALL syncs
« Reply #2 on: April 15, 2018, 02:11:56 pm »
Since - as you wrote above - the issue is made worse by Calendar / Contact sync:

- I added to code to
- Report network and login error to Android
- When Android calls our app to sync Calendar / Contact
- Which is supposed to make it do that less often (when there are in fact errors)

https://www.aqua-mail.com/download/AquaMail-market-1.15.0-888-dev-90e60b62e505.apk
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/