Connection failure: Connection refused (os error 111)

Delta Chat version
Delta Chat 1.42.6 installed via f-droid
LineageOS 20 (Android 13)
no google play services or microg

Expected behavior

Delta Chat should connect to the mail server and send/receive messages.

Actual behavior

Delta Chat for Android does not connect to the mail server any more some days after installation/configuration. Error message in the log says “Connection refused (os error 111)”.

Delta Chat Desktop App for Linux works without problems with exactly the same mail server configuration. Mail clients also work without problems with the same mail server configuration.

I have had this problem before. After a while, the app seems to loose the access to the network entirely. Deleting the app cache and data, and then reconfiguring it did not work, even transfer of account data via QR-code did not work any more. The only solution was to delete the app and re-install it. However, after some days, the above error started to occur again.

Steps to reproduce the problem

  1. Install Delta Chat via f-droid
  2. Configure a mail account via account transfer (QR-code)
  3. Wait until the Delta Chat app does not connect any more

Debug logs

This log may contain sensitive information. If you want to post it publicly you may examine and edit it beforehand.

device=Google Pixel 4a (5G) (bramble)
android=13 (faacb9738e, lineage_bramble-userdebug 13 TQ3A.230901.001 faacb9738e)
sdk=33
memory=38M (65.40% free, 512M max)
memoryClass=256
host=b7c7df82f1a7
applicationId=com.b44t.messenger
app=Delta Chat 1.42.6-fat
versionCode=6772
installer=com.android.packageinstaller
ignoreBatteryOptimizations=true
notifications=true
reliableService=false
lang=de_DE
rtl=false

arch=64
authserv_id_candidates=xxx.xxx.xx
bcc_self=1
blobdir=/data/user/0/com.b44t.messenger/files/accounts/2b4dcfc7-fba8-444a-a6e9-c91d66cc8c55/dc.db-blobs
bot=0
configured_inbox_folder=INBOX
configured_mvbox_folder=INBOX.DeltaChat
configured_sentbox_folder=INBOX.Sent
configured_trash_folder=INBOX.Trash
database_dir=/data/user/0/com.b44t.messenger/files/accounts/2b4dcfc7-fba8-444a-a6e9-c91d66cc8c55/dc.db
database_encrypted=false
database_version=105
debug_logging=0
delete_device_after=0
delete_server_after=0
delete_to_trash=
deltachat_core_version=v1.131.9
disable_idle=false
display_name=0
download_limit=0
e2ee_enabled=1
entered_account_settings=xxx@xxx.xx imap:unset::xxx.xxx.xx:0:Automatic:cert_automatic:AUTH_NORMAL smtp:unset:0:xxx.xxx.xx:0:Automatic:cert_automatic:AUTH_NORMAL
fetch_existing_msgs=0
fetched_existing_msgs=true
fingerprint=39E7AB223775EC9B4BA69CCCF753F695D85C7CE9
folders_configured=4
gossip_period=172800
is_configured=1
journal_mode=wal
key_gen_type=0
last_housekeeping=1708085889
last_msg_id=468
level=awesome
mdns_enabled=1
media_quality=0
messages_in_contact_requests=0
mvbox_move=1
num_cpus=8
number_of_chat_messages=309
number_of_chats=6
number_of_contacts=149
only_fetch_mvbox=0
private_key_count=1
public_key_count=4
quota_exceeding=0
scan_all_folders_debounce_secs=60
secondary_addrs=
selfavatar=
sentbox_watch=0
show_emails=0
sign_unencrypted=0
socks5_enabled=0
sqlite_version=3.39.4
sync_msgs=1
uptime=46h 12m 34s
used_account_settings=christoph@pfluegler.net imap:xxx@xxx.xx:
:xxx.xxx.xx:993:Ssl:cert_strict:AUTH_NORMAL smtp:xxx@xxx.xx:***:xxx.xxx.xx:465:Ssl:cert_strict:AUTH_NORMAL
verified_one_on_one_chats=true
webrtc_instance=

--------- beginning of main
02-16 16:52:57.634 6800 6846 I DeltaChat: ++++++++++++++++++ NetworkCallback.onCapabilitiesChanged() #554
02-16 16:57:01.493 6800 6846 I DeltaChat: ++++++++++++++++++ NetworkCallback.onAvailable() #49
02-16 16:57:01.494 6800 6846 I DeltaChat: ++++++++++++++++++ NetworkCallback.onCapabilitiesChanged() #555
02-16 16:57:01.494 6800 6846 I DeltaChat: ++++++++++++++++++ NetworkCallback.onLinkPropertiesChanged() #58
02-16 16:57:01.494 6800 6846 I DeltaChat: ++++++++++++++++++ NetworkCallback.onBlockedStatusChanged() #49
02-16 16:57:01.496 6800 6830 I DeltaChat: src/imap/idle.rs:184: Fake IDLE interrupted
02-16 16:57:01.496 6800 6830 I DeltaChat: src/imap/idle.rs:190: IMAP-fake-IDLE done after 868.0470s
02-16 16:57:01.496 6800 6830 I DeltaChat: src/imap.rs:321: Connecting to IMAP server
02-16 16:57:01.496 6800 6830 I DeltaChat: src/imap/idle.rs:184: Fake IDLE interrupted
02-16 16:57:01.496 6800 6830 I DeltaChat: src/imap/idle.rs:190: IMAP-fake-IDLE done after 869.0610s
02-16 16:57:01.496 6800 6830 I DeltaChat: src/imap.rs:321: Connecting to IMAP server
02-16 16:57:01.496 6800 6830 I DeltaChat: src/scheduler.rs:760: smtp fake idle - interrupted
02-16 16:57:01.496 6800 6830 I DeltaChat: src/smtp.rs:652: Selected rows from SMTP queue: [95].
02-16 16:57:01.500 6800 6800 I DeltaChat: ++++++++++++++++++ Connected #97
02-16 16:57:01.509 6800 6800 I DeltaChat: ++++++++++++++++++ Connected #98
02-16 16:57:01.517 6800 6846 I DeltaChat: ++++++++++++++++++ NetworkCallback.onCapabilitiesChanged() #556
02-16 16:57:01.592 6800 6830 I DeltaChat: src/net.rs:71: Resolved xxx.xxx.xx:465 into 185.119.118.35:465.
02-16 16:57:01.592 6800 6830 I DeltaChat: src/net.rs:71: Resolved xxx.xxx.xx:993 into 185.119.118.35:993.
02-16 16:57:01.594 6800 6830 I DeltaChat: src/net.rs:71: Resolved xxx.xxx.xx:993 into 185.119.118.35:993.
02-16 16:57:04.694 6800 6830 W DeltaChat: src/net.rs:186: Failed to connect to 185.119.118.35:465: connection failure: Connection refused (os error 111).
02-16 16:57:04.694 6800 6830 W DeltaChat: src/net.rs:186: Failed to connect to 185.119.118.35:993: connection failure: Connection refused (os error 111).
02-16 16:57:04.695 6800 6830 W DeltaChat: src/quota.rs:116: could not connect: connection failure: Connection refused (os error 111)
02-16 16:57:04.695 6800 6830 W DeltaChat: src/scheduler.rs:711: send_smtp_messages failed: failed to send message: SMTP connection failure: connection failure: Connection refused (os error 111)
02-16 16:57:04.695 6800 6830 I DeltaChat: src/scheduler.rs:728: smtp fake idle - started
02-16 16:57:04.695 6800 6830 I DeltaChat: src/scheduler.rs:740: smtp has messages to retry, planning to retry 7729 seconds later
02-16 16:57:04.695 6800 6830 W DeltaChat: src/net.rs:186: Failed to connect to 185.119.118.35:993: connection failure: Connection refused (os error 111).
02-16 16:57:04.696 6800 6830 W DeltaChat: src/scheduler.rs:510: prepare IMAP connection: connection failure: Connection refused (os error 111)
02-16 16:57:04.696 6800 6830 I DeltaChat: src/imap.rs:463: Dropping an IMAP connection.
02-16 16:57:04.696 6800 6830 I DeltaChat: src/imap/idle.rs:113: IMAP-fake-IDLEing folder=“INBOX.DeltaChat”
02-16 16:57:04.696 6800 6830 I DeltaChat: src/imap.rs:321: Connecting to IMAP server
02-16 16:57:04.705 6800 6830 I DeltaChat: src/net.rs:71: Resolved xxx.xxx.xx:993 into 185.119.118.35:993.
02-16 16:57:05.733 6800 6830 W DeltaChat: src/net.rs:186: Failed to connect to 185.119.118.35:993: connection failure: Connection refused (os error 111).
02-16 16:57:05.733 6800 6830 W DeltaChat: src/scheduler.rs:510: prepare IMAP connection: connection failure: Connection refused (os error 111)
02-16 16:57:05.733 6800 6830 I DeltaChat: src/imap.rs:463: Dropping an IMAP connection.
02-16 16:57:05.733 6800 6830 I DeltaChat: src/imap/idle.rs:113: IMAP-fake-IDLEing folder=“INBOX”
02-16 16:57:35.548 6800 6800 I DeltaChat: ++++++++++++++++++ Connected #99
02-16 16:57:35.590 6800 6846 I DeltaChat: ++++++++++++++++++ NetworkCallback.onAvailable() #50
02-16 16:57:35.590 6800 6846 I DeltaChat: ++++++++++++++++++ NetworkCallback.onCapabilitiesChanged() #557
02-16 16:57:35.590 6800 6846 I DeltaChat: ++++++++++++++++++ NetworkCallback.onLinkPropertiesChanged() #59
02-16 16:57:35.590 6800 6846 I DeltaChat: ++++++++++++++++++ NetworkCallback.onBlockedStatusChanged() #50
02-16 16:57:35.593 6800 6830 I DeltaChat: src/imap/idle.rs:184: Fake IDLE interrupted
02-16 16:57:35.593 6800 6830 I DeltaChat: src/imap/idle.rs:190: IMAP-fake-IDLE done after 29.8580s
02-16 16:57:35.593 6800 6830 W DeltaChat: src/imap.rs:311: IMAP got rate limited, waiting for 0h 0m 25s until can connect
02-16 16:57:35.593 6800 6830 I DeltaChat: src/imap/idle.rs:184: Fake IDLE interrupted
02-16 16:57:35.594 6800 6830 I DeltaChat: src/imap/idle.rs:190: IMAP-fake-IDLE done after 30.8970s
02-16 16:57:35.594 6800 6830 I DeltaChat: src/imap.rs:321: Connecting to IMAP server
02-16 16:57:35.594 6800 6830 I DeltaChat: src/scheduler.rs:760: smtp fake idle - interrupted
02-16 16:57:35.594 6800 6830 I DeltaChat: src/smtp.rs:652: Selected rows from SMTP queue: [95].
02-16 16:57:35.619 6800 6830 I DeltaChat: src/net.rs:71: Resolved xxx.xxx.xx:993 into 185.119.118.35:993.
02-16 16:57:35.628 6800 6846 I DeltaChat: ++++++++++++++++++ NetworkCallback.onCapabilitiesChanged() #558
02-16 16:57:35.629 6800 6830 I DeltaChat: src/net.rs:71: Resolved xxx.xxx.xx:465 into 185.119.118.35:465.
02-16 16:57:35.630 6800 6800 I DeltaChat: ++++++++++++++++++ Connected #100
02-16 16:57:38.832 6800 6830 W DeltaChat: src/net.rs:186: Failed to connect to 185.119.118.35:465: connection failure: Connection refused (os error 111).
02-16 16:57:38.832 6800 6830 W DeltaChat: src/scheduler.rs:711: send_smtp_messages failed: failed to send message: SMTP connection failure: connection failure: Connection refused (os error 111)
02-16 16:57:38.832 6800 6830 I DeltaChat: src/scheduler.rs:728: smtp fake idle - started
02-16 16:57:38.833 6800 6830 I DeltaChat: src/scheduler.rs:740: smtp has messages to retry, planning to retry 7729 seconds later
02-16 16:57:38.833 6800 6830 W DeltaChat: src/net.rs:186: Failed to connect to 185.119.118.35:993: connection failure: Connection refused (os error 111).
02-16 16:57:38.833 6800 6830 W DeltaChat: src/scheduler.rs:510: prepare IMAP connection: connection failure: Connection refused (os error 111)
02-16 16:57:38.833 6800 6830 I DeltaChat: src/imap.rs:463: Dropping an IMAP connection.
02-16 16:57:38.834 6800 6830 I DeltaChat: src/imap/idle.rs:113: IMAP-fake-IDLEing folder=“INBOX.DeltaChat”
02-16 16:59:08.097 6800 8939 I DeltaChat: ++++++++++++++++++ FetchWorker.doWork() started ++++++++++++++++++
02-16 16:59:17.940 6800 6846 I DeltaChat: ++++++++++++++++++ NetworkCallback.onAvailable() #51
02-16 16:59:17.940 6800 6846 I DeltaChat: ++++++++++++++++++ NetworkCallback.onCapabilitiesChanged() #559
02-16 16:59:17.940 6800 6846 I DeltaChat: ++++++++++++++++++ NetworkCallback.onLinkPropertiesChanged() #60
02-16 16:59:17.940 6800 6846 I DeltaChat: ++++++++++++++++++ NetworkCallback.onBlockedStatusChanged() #51
02-16 16:59:17.942 6800 6830 I DeltaChat: src/imap/idle.rs:184: Fake IDLE interrupted
02-16 16:59:17.942 6800 6830 I DeltaChat: src/imap/idle.rs:190: IMAP-fake-IDLE done after 99.1080s
02-16 16:59:17.942 6800 6830 I DeltaChat: src/imap.rs:321: Connecting to IMAP server
02-16 16:59:17.942 6800 6830 I DeltaChat: src/scheduler.rs:760: smtp fake idle - interrupted
02-16 16:59:17.942 6800 6830 I DeltaChat: src/smtp.rs:652: Selected rows from SMTP queue: [95].
02-16 16:59:17.949 6800 6818 I WM-WorkerWrapper: Work [ id=a15e5d44-2487-4ed1-9ec1-f9b001c8f15a, tags={ org.thoughtcrime.securesms.connect.FetchWorker } ] was cancelled
02-16 16:59:17.949 6800 6818 I WM-WorkerWrapper: java.util.concurrent.CancellationException: Task was cancelled.
02-16 16:59:17.949 6800 6818 I WM-WorkerWrapper: at androidx.work.impl.utils.futures.AbstractFuture.cancellationExceptionWithCause(AbstractFuture.java:1184)
02-16 16:59:17.949 6800 6818 I WM-WorkerWrapper: at androidx.work.impl.utils.futures.AbstractFuture.getDoneValue(AbstractFuture.java:514)
02-16 16:59:17.949 6800 6818 I WM-WorkerWrapper: at androidx.work.impl.utils.futures.AbstractFuture.get(AbstractFuture.java:475)
02-16 16:59:17.949 6800 6818 I WM-WorkerWrapper: at androidx.work.impl.WorkerWrapper$2.run(WorkerWrapper.java:311)
02-16 16:59:17.949 6800 6818 I WM-WorkerWrapper: at androidx.work.impl.utils.SerialExecutor$Task.run(SerialExecutor.java:91)
02-16 16:59:17.949 6800 6818 I WM-WorkerWrapper: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
02-16 16:59:17.949 6800 6818 I WM-WorkerWrapper: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
02-16 16:59:17.949 6800 6818 I WM-WorkerWrapper: at java.lang.Thread.run(Thread.java:1012)
02-16 16:59:17.949 6800 6800 I DeltaChat: ++++++++++++++++++ Connected #101
02-16 16:59:17.951 6800 6800 I DeltaChat: ++++++++++++++++++ Connected #102
02-16 16:59:17.958 6800 6846 I DeltaChat: ++++++++++++++++++ NetworkCallback.onCapabilitiesChanged() #560
02-16 16:59:18.002 6800 9207 I DeltaChat: ++++++++++++++++++ FetchWorker.doWork() started ++++++++++++++++++
02-16 16:59:18.270 6800 6830 I DeltaChat: src/net.rs:71: Resolved xxx.xxx.xx:465 into 185.119.118.35:465.
02-16 16:59:18.271 6800 6830 I DeltaChat: src/net.rs:71: Resolved xxx.xxx.xx:993 into 185.119.118.35:993.
02-16 16:59:18.304 6800 6846 I DeltaChat: ++++++++++++++++++ NetworkCallback.onLinkPropertiesChanged() #61
02-16 16:59:19.275 6800 6830 W DeltaChat: src/net.rs:186: Failed to connect to 185.119.118.35:993: connection failure: Connection refused (os error 111).
02-16 16:59:19.275 6800 6830 W DeltaChat: src/scheduler.rs:510: prepare IMAP connection: connection failure: Connection refused (os error 111)
02-16 16:59:19.275 6800 6830 I DeltaChat: src/imap.rs:463: Dropping an IMAP connection.
02-16 16:59:19.275 6800 6830 I DeltaChat: src/imap/idle.rs:113: IMAP-fake-IDLEing folder=“INBOX.DeltaChat”
02-16 16:59:19.276 6800 6830 W DeltaChat: src/net.rs:186: Failed to connect to 185.119.118.35:465: connection failure: Connection refused (os error 111).
02-16 16:59:19.276 6800 6830 W DeltaChat: src/scheduler.rs:711: send_smtp_messages failed: failed to send message: SMTP connection failure: connection failure: Connection refused (os error 111)
02-16 16:59:19.276 6800 6830 I DeltaChat: src/scheduler.rs:728: smtp fake idle - started
02-16 16:59:19.276 6800 6830 I DeltaChat: src/scheduler.rs:740: smtp has messages to retry, planning to retry 7729 seconds later
02-16 16:59:24.473 6800 6830 I DeltaChat: src/imap.rs:321: Connecting to IMAP server
02-16 16:59:24.481 6800 6830 I DeltaChat: src/net.rs:71: Resolved xxx.xxx.xx:993 into 185.119.118.35:993.
02-16 16:59:25.491 6800 6830 W DeltaChat: src/net.rs:186: Failed to connect to 185.119.118.35:993: connection failure: Connection refused (os error 111).
02-16 16:59:25.492 6800 6830 W DeltaChat: src/quota.rs:116: could not connect: connection failure: Connection refused (os error 111)
02-16 16:59:25.492 6800 6830 I DeltaChat: src/imap.rs:321: Connecting to IMAP server
02-16 16:59:25.504 6800 6830 I DeltaChat: src/net.rs:71: Resolved xx.xxx.xx:993 into 185.119.118.35:993.
02-16 16:59:26.528 6800 6830 W DeltaChat: src/net.rs:186: Failed to connect to 185.119.118.35:993: connection failure: Connection refused (os error 111).
02-16 16:59:26.528 6800 6830 W DeltaChat: src/scheduler.rs:510: prepare IMAP connection: connection failure: Connection refused (os error 111)
02-16 16:59:26.528 6800 6830 I DeltaChat: src/imap.rs:463: Dropping an IMAP connection.
02-16 16:59:26.529 6800 6830 I DeltaChat: src/imap/idle.rs:113: IMAP-fake-IDLEing folder=“INBOX”
02-16 16:59:26.530 6800 6830 I DeltaChat: src/imap/idle.rs:184: Fake IDLE interrupted
02-16 16:59:26.530 6800 6830 I DeltaChat: src/imap/idle.rs:190: IMAP-fake-IDLE done after 0.0010s
02-16 16:59:26.530 6800 6830 W DeltaChat: src/imap.rs:311: IMAP got rate limited, waiting for 0h 0m 57s until can connect
02-16 17:00:08.097 6800 8939 I DeltaChat: ++++++++++++++++++ FetchWorker.doWork() will return ++++++++++++++++++
02-16 17:00:18.003 6800 9207 I DeltaChat: ++++++++++++++++++ FetchWorker.doWork() will return ++++++++++++++++++
02-16 17:00:18.007 6800 6820 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=a15e5d44-2487-4ed1-9ec1-f9b001c8f15a, tags={ org.thoughtcrime.securesms.connect.FetchWorker } ]
02-16 17:00:32.165 6800 6830 I DeltaChat: src/imap.rs:321: Connecting to IMAP server
02-16 17:00:32.174 6800 6830 I DeltaChat: src/net.rs:71: Resolved xxx.xxx.xx:993 into 185.119.118.35:993.
02-16 17:01:07.822 6800 6830 W DeltaChat: src/net.rs:186: Failed to connect to 185.119.118.35:993: connection failure: Connection refused (os error 111).
02-16 17:01:07.823 6800 6830 W DeltaChat: src/imap/idle.rs:145: fake_idle: could not connect: connection failure
02-16 17:01:12.011 6800 6830 I DeltaChat: src/imap.rs:321: Connecting to IMAP server
02-16 17:01:12.020 6800 6830 I DeltaChat: src/net.rs:71: Resolved xxx.xxx.xx:993 into 185.119.118.35:993.
02-16 17:01:13.027 6800 6830 W DeltaChat: src/net.rs:186: Failed to connect to 185.119.118.35:993: connection failure: Connection refused (os error 111).
02-16 17:01:13.027 6800 6830 W DeltaChat: src/quota.rs:116: could not connect: connection failure: Connection refused (os error 111)
02-16 17:01:13.028 6800 6830 W DeltaChat: src/imap.rs:311: IMAP got rate limited, waiting for 0h 0m 11s until can connect
02-16 17:02:11.204 6800 6830 I DeltaChat: src/imap.rs:321: Connecting to IMAP server
02-16 17:02:11.211 6800 6830 I DeltaChat: src/net.rs:71: Resolved xxx.xxx.xx:993 into 185.119.118.35:993.
02-16 17:02:12.234 6800 6830 W DeltaChat: src/net.rs:186: Failed to connect to 185.119.118.35:993: connection failure: Connection refused (os error 111).
02-16 17:02:12.235 6800 6830 W DeltaChat: src/scheduler.rs:510: prepare IMAP connection: connection failure: Connection refused (os error 111)
02-16 17:02:12.235 6800 6830 I DeltaChat: src/imap.rs:463: Dropping an IMAP connection.
02-16 17:02:12.235 6800 6830 I DeltaChat: src/imap/idle.rs:113: IMAP-fake-IDLEing folder=“INBOX”
02-16 17:07:18.637 6800 6846 I DeltaChat: ++++++++++++++++++ NetworkCallback.onCapabilitiesChanged() #561
02-16 17:07:36.526 6800 6830 I DeltaChat: src/imap.rs:321: Connecting to IMAP server
02-16 17:07:36.530 6800 6830 I DeltaChat: src/net.rs:71: Resolved xxx.xxx.xx:993 into 185.119.118.35:993.
02-16 17:07:37.538 6800 6830 W DeltaChat: src/net.rs:186: Failed to connect to 185.119.118.35:993: connection failure: Connection refused (os error 111).
02-16 17:07:37.538 6800 6830 W DeltaChat: src/imap/idle.rs:145: fake_idle: could not connect: connection failure
02-16 17:07:53.796 6800 6830 I DeltaChat: src/imap.rs:321: Connecting to IMAP server
02-16 17:07:53.801 6800 6830 I DeltaChat: src/net.rs:71: Resolved xxx.xxx.xx:993 into 185.119.118.35:993.
02-16 17:07:54.820 6800 6830 W DeltaChat: src/net.rs:186: Failed to connect to 185.119.118.35:993: connection failure: Connection refused (os error 111).
02-16 17:07:54.821 6800 6830 W DeltaChat: src/imap/idle.rs:145: fake_idle: could not connect: connection failure
02-16 17:16:06.294 6800 9820 I DeltaChat: ++++++++++++++++++ FetchWorker.doWork() started ++++++++++++++++++
02-16 17:16:39.062 6800 6830 I DeltaChat: src/imap.rs:321: Connecting to IMAP server
02-16 17:16:39.074 6800 6830 I DeltaChat: src/net.rs:71: Resolved xxx.xxx.xx:993 into 185.119.118.35:993.
02-16 17:16:40.076 6800 6830 W DeltaChat: src/net.rs:186: Failed to connect to 185.119.118.35:993: connection failure: Connection refused (os error 111).
02-16 17:16:40.076 6800 6830 W DeltaChat: src/imap/idle.rs:145: fake_idle: could not connect: connection failure
02-16 17:17:06.295 6800 9820 I DeltaChat: ++++++++++++++++++ FetchWorker.doWork() will return ++++++++++++++++++
02-16 17:17:06.297 6800 6820 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=a15e5d44-2487-4ed1-9ec1-f9b001c8f15a, tags={ org.thoughtcrime.securesms.connect.FetchWorker } ]
02-16 17:18:29.139 6800 6846 I DeltaChat: ++++++++++++++++++ NetworkCallback.onCapabilitiesChanged() #562
02-16 17:18:36.048 6800 6830 I DeltaChat: src/imap.rs:321: Connecting to IMAP server
02-16 17:18:36.054 6800 6830 I DeltaChat: src/net.rs:71: Resolved xxx.xxx.xx:993 into 185.119.118.35:993.
02-16 17:18:37.063 6800 6830 W DeltaChat: src/net.rs:186: Failed to connect to 185.119.118.35:993: connection failure: Connection refused (os error 111).
02-16 17:18:37.063 6800 6830 W DeltaChat: src/imap/idle.rs:145: fake_idle: could not connect: connection failure
02-16 17:18:39.448 6800 6800 I DeltaChat: ++++++++++++++++++ first ForegroundDetector.onActivityStarted() ++++++++++++++++++
02-16 17:18:39.449 6800 17290 I DeltaChat: calling maybeNetwork()
02-16 17:18:39.449 6800 17290 I DeltaChat: maybeNetwork() returned
02-16 17:18:39.449 6800 6830 I DeltaChat: src/scheduler.rs:760: smtp fake idle - interrupted
02-16 17:18:39.449 6800 6830 I DeltaChat: src/imap/idle.rs:184: Fake IDLE interrupted
02-16 17:18:39.449 6800 6830 I DeltaChat: src/imap/idle.rs:190: IMAP-fake-IDLE done after 987.2150s
02-16 17:18:39.449 6800 6830 I DeltaChat: src/imap/idle.rs:184: Fake IDLE interrupted
02-16 17:18:39.449 6800 6830 I DeltaChat: src/imap/idle.rs:190: IMAP-fake-IDLE done after 1160.1740s
02-16 17:18:39.450 6800 6830 I DeltaChat: src/imap.rs:321: Connecting to IMAP server
02-16 17:18:39.450 6800 6830 I DeltaChat: src/imap.rs:321: Connecting to IMAP server
02-16 17:18:39.450 6800 6830 I DeltaChat: src/smtp.rs:652: Selected rows from SMTP queue: [95].
02-16 17:18:39.451 6800 6830 I DeltaChat: src/net.rs:71: Resolved xxx.xxx.xx:993 into 185.119.118.35:993.
02-16 17:18:39.452 6800 6830 I DeltaChat: src/net.rs:71: Resolved xxx.xxx.xx:465 into 185.119.118.35:465.
02-16 17:18:39.453 6800 6830 I DeltaChat: src/net.rs:71: Resolved xxx.xxx.xx:993 into 185.119.118.35:993.
02-16 17:18:39.457 6800 6800 I ConversationListFragment: :cowboy_hat_face: resuming chatlist: starting update timer
02-16 17:18:39.473 6800 7358 E OpenGLRenderer: Unable to match the desired swap behavior.
02-16 17:18:39.489 6800 6800 I ConversationListFragment: :cowboy_hat_face: update timer: refreshing chatlist
02-16 17:18:40.475 6800 6830 W DeltaChat: src/net.rs:186: Failed to connect to 185.119.118.35:993: connection failure: Connection refused (os error 111).
02-16 17:18:40.475 6800 6830 W DeltaChat: src/quota.rs:116: could not connect: connection failure: Connection refused (os error 111)
02-16 17:18:40.475 6800 6830 W DeltaChat: src/net.rs:186: Failed to connect to 185.119.118.35:465: connection failure: Connection refused (os error 111).
02-16 17:18:40.475 6800 6830 I DeltaChat: src/imap.rs:321: Connecting to IMAP server
02-16 17:18:40.475 6800 6830 W DeltaChat: src/net.rs:186: Failed to connect to 185.119.118.35:993: connection failure: Connection refused (os error 111).
02-16 17:18:40.475 6800 6830 W DeltaChat: src/scheduler.rs:711: send_smtp_messages failed: failed to send message: SMTP connection failure: connection failure: Connection refused (os error 111)
02-16 17:18:40.475 6800 6830 I DeltaChat: src/scheduler.rs:728: smtp fake idle - started
02-16 17:18:40.475 6800 6830 W DeltaChat: src/scheduler.rs:510: prepare IMAP connection: connection failure: Connection refused (os error 111)
02-16 17:18:40.475 6800 6830 I DeltaChat: src/imap.rs:463: Dropping an IMAP connection.
02-16 17:18:40.475 6800 6830 I DeltaChat: src/scheduler.rs:740: smtp has messages to retry, planning to retry 7729 seconds later
02-16 17:18:40.475 6800 6830 I DeltaChat: src/imap/idle.rs:113: IMAP-fake-IDLEing folder=“INBOX.DeltaChat”
02-16 17:18:40.476 6800 6830 I DeltaChat: src/net.rs:71: Resolved xxx.xxx.xx:993 into 185.119.118.35:993.
02-16 17:18:41.183 6800 7395 I DirectShareUtil: Updated dynamic shortcuts, success: true
02-16 17:18:41.488 6800 6830 W DeltaChat: src/net.rs:186: Failed to connect to 185.119.118.35:993: connection failure: Connection refused (os error 111).
02-16 17:18:41.488 6800 6830 W DeltaChat: src/scheduler.rs:510: prepare IMAP connection: connection failure: Connection refused (os error 111)
02-16 17:18:41.488 6800 6830 I DeltaChat: src/imap.rs:463: Dropping an IMAP connection.
02-16 17:18:41.488 6800 6830 I DeltaChat: src/imap/idle.rs:113: IMAP-fake-IDLEing folder=“INBOX”
02-16 17:18:43.041 6800 7358 W Parcel : Expecting binder but got null!
02-16 17:18:43.055 6800 7358 E OpenGLRenderer: Unable to match the desired swap behavior.
02-16 17:18:45.332 6800 6800 I ConversationListFragment: :cowboy_hat_face: pausing chatlist: cancel update timer
02-16 17:18:45.346 6800 6800 W PassphraseRequiredActionBarActivity: onCreate(null)
02-16 17:18:45.356 6800 7358 W Parcel : Expecting binder but got null!
02-16 17:18:45.365 6800 7358 E OpenGLRenderer: Unable to match the desired swap behavior.
02-16 17:18:45.652 6800 7358 D OpenGLRenderer: endAllActiveAnimators on 0xb4000079adef55d0 (MenuPopupWindow$MenuDropDownListView) with handle 0xb4000078bdeb0cd0
02-16 17:18:49.138 6800 7358 W Parcel : Expecting binder but got null!
02-16 17:18:49.151 6800 7358 E OpenGLRenderer: Unable to match the desired swap behavior.

This entry just caught my attention. Does anybody know to which IMAP settings this refers to in detail?