Author Topic: Authenticate Error with Exchange IMAP  (Read 14833 times)

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Authenticate Error with Exchange IMAP
« Reply #15 on: January 20, 2016, 05:35:04 pm »
I'm not an Exchange expert, and don't understand the difference between these:

MaxConnectionsPerUser : 16 (back to default)
Maximum Allowed Sessions Per User : 0x30 (48)
Maximum Allowed Service Sessions Per User : 0x30 (48)

What's the difference between Connections and Sessions? And what are Service Sessions?

As I wrote above, AquaMail needs one connection per push folder + one connection for scheduled mail checks and everything else.

The app does a full refresh on those connections every hour, with a graceful logout. You may want to change this to 30 minutes (long press the account -> options and folders -> IMAP options -> "IMAP Push session duration").

Also the app checks if push connections are "alive" every 10 minutes, if found to be "stuck" (no response from server), then those connections are aborted and re-established.

On each device-level connectivity change, push connections are also aborted and re-established.

Finally, it sounds like it takes Exchange 15 minutes to detect a connection that's gone dead / aborted.
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/

tiouini

  • Newbie
  • *
  • Posts: 12
Re: Authenticate Error with Exchange IMAP
« Reply #16 on: January 22, 2016, 06:00:55 pm »
I don't understand the difference between these 3 properties.

As I understand :

MaxConnectionsPerUser : specifies the maximum number of connections for IMAP and POP for a particular user
Maximum Allowed Sessions Per User : specifies the maximum permitted MAPI sessions per user
Maximum Allowed Service Sessions Per User : Exchange 2010 Store limits the number of non-MAPI sessions that other services generate, such as IMAP, POP, Outlook Web Access, Microsoft Exchange ActiveSync (EAS), or Exchange Web Services (EWS)

Hope this help.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Authenticate Error with Exchange IMAP
« Reply #17 on: January 22, 2016, 06:08:21 pm »
I do not have any new information other than what I already wrote above, about how AquaMail manages its server connections.
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/