The dovecot log keeps saying the following 3 times:
auth-worker(2348520): conn unix:auth-worker (pid=132,uid=401): auth-worker<315>: lua(user@mydomain.net,192.168.3.59,<[REDACTED]>): Password mismatch (SHA1 of given password: [REDACTED])
Then ends with
imap-login: Disconnected: Connection closed (auth failed, 3 attempts in 7 secs): user=<user@mydomain.net>, method=PLAIN, rip=192.168.3.59, lip=172.22.1.250, TLS, TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
The App password is set under Thunderbird Settings -> Privacy & Security -> Passwords -> “Use primary password”
As soon as I deactivate TOTP again in Cow profile I am able to connect again via Thunderbird IMAP.