Hi @Sentinel
Enabling Push ON for folder normally immediately shows a notification in Androids notification shade.
The app relies on IMAP Idle (RFC2177). Does your email service support this?
To check if it advertises IDLE capability. Type the below is a command prompt.
The below example uses Gmail. Change the server name and port to your own.
openssl s_client -connect imap.gmail.com:993 -crlf
a003 CAPABILITY
You should see “IDLE” in the response if supported.
a003 CAPABILITY
* CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=OAUTHBEARER
a003 OK Thats all she wrote! e09e53db590de-8e4fd249aeamb104071539d85
You can also check this in K-9’s debug log as an alternative.
- Navigate to settings > general settings > debugging. Toggle ON Enable debug logging
- Toggle Push ON for Inbox
- Return to the debug options page at step 1
- Press the three dot menu > Export log
Search the logs for “Capability”. You should see IDLE in the reply similar to the below.
08-20 23:50:32.008 10979 11049 D RealImapConnection: Connecting to imap.gmail.com as imap.gmail.com/[REDACTED]
08-20 23:50:32.009 10979 14381 V PushServiceManager: PushServiceManager.start()
08-20 23:50:32.010 10979 14381 V PushServiceManager: ..PushService already running
08-20 23:50:32.010 10979 14381 V BootCompleteManager: Enable BootCompleteReceiver
08-20 23:50:32.361 10979 11049 V RealImapConnection: conn250675661 <<< #null# [OK, Gimap ready for requests from [REDACTED] cdcc0902adbc2-4348bcf1208mb69526107d76]
08-20 23:50:32.362 10979 11049 I RealImapConnection: Did not get capabilities in banner, requesting CAPABILITY for conn250675661
08-20 23:50:32.365 10979 11049 V RealImapConnection: conn250675661>>> 1 CAPABILITY
08-20 23:50:32.426 10979 11049 V ImapResponseParser: conn250675661<<<#null# [CAPABILITY, IMAP4rev1, UNSELECT, IDLE, NAMESPACE, QUOTA, ID, XLIST, CHILDREN, X-GM-EXT-1, XYZZY, SASL-IR, AUTH=XOAUTH2, AUTH=PLAIN, AUTH=PLAIN-CLIENTTOKEN, AUTH=OAUTHBEARER]
08-20 23:50:32.427 10979 11049 V ImapResponseParser: conn250675661<<<#1# [OK, Thats all she wrote! cdcc0902adbc2-4348bcf1208mb69526107d76]
08-20 23:50:32.428 10979 11049 D RealImapConnection: Saving [NAMESPACE, QUOTA, AUTH=XOAUTH2, UNSELECT, X-GM-EXT-1, SASL-IR, XLIST, CHILDREN, AUTH=PLAIN, AUTH=PLAIN-CLIENTTOKEN, IMAP4REV1, IDLE, XYZZY, ID, AUTH=OAUTHBEARER] capabilities for conn250675661
CAPABILITY, IMAP4rev1, UNSELECT, IDLE, NAMESPACE