I am trying to set up IMAP trigger, and I’m stuck on the IMAP account creation step. Using port 143 to reach dovecot, but the email server is seeing an empty request:
2026-03-25T15:15:40.665264+02:00 imap dovecot: imap-login: Disconnected: Connection closed (no auth attempts in 0 secs): user=<>
What is the error message (if any)?
Please share your workflow
As of right now I am only working with IMAP trigger node
Share the output returned by the last node
From n8n side I am getting: Couldn’t connect with these settings
read ECONNRESET
From server side: 2026-03-25T15:15:40.665264+02:00 imap dovecot: imap-login: Disconnected: Connection closed (no auth attempts in 0 secs): user=<>
Hi @Mr.Ben Welcome!
Umm go in IMAN credentials and in port 143 turn the ssl/tsl toggle off , and in port 993 turn ssl/tsl on and then let me know how that responds.
If adjusting the port and SSL/TLS settings doesn’t fully resolve it, I’d also double-check whether the server expects a specific connection mode or has any restrictions at the TLS or network level, since those can cause the connection to drop before auth is even attempted.
Thanks for the tip, I already tried with ssl/tls turned off and on. I did make some progress, it was misconfiguration on FW side, but still it is not working,
Right now I am getting error: 4032F7F1247F0000:error:0A0000C6:SSL routines:tls_get_more_records:packet length too long:../../deps/openssl/openssl/ssl/record/methods/tls_common.c:660:
2026-03-26T10:17:55.562476+02:00 imap dovecot: imap-login: Disconnected: Too many invalid commands (no auth attempts in 0 secs)