On 24/05/2025 09:11 EEST christin.stornowski--- via dovecot <dovecot@dovecot.org> wrote:
I have the same problem and 2.3 is working. I was trying to save an email as a draft in thunderbird. I'm using dovecot docker image from dockerhub.
May 23 22:26:06 imap-login: Info: Logged in: user=<xxx>, method=PLAIN, rip=xxx, lip=xxx, mpid=4682, TLS, session=<6vxtaNM1BcgqAoEJsoATAGQCoHpGx679> May 23 22:26:06 imap(xxx)<4682><6vxtaNM1BcgqAoEJsoATAGQCoHpGx679>: Info: Disconnected: Too many invalid IMAP commands. in=1137 out=2560 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
"mail_utf8_extensions=yes" is not active
In addition to default config files from https://github.com/dovecot/docker/tree/main/2.4.1:
auth_mechanisms = plain login
mail_home = /srv/mail/%{user | domain}/%{user | username} mail_driver = sdbox mailbox_list_layout = fs mail_path = /srv/mail/%{user | domain}/%{user | username}/dbox
namespace inbox { mailbox Drafts { special_use = \Drafts auto = subscribe } mailbox Junk { special_use = \Junk auto = subscribe sieve_script report-spam { type = before cause = copy path = /usr/lib/dovecot/sieve/report-spam.sieve } fts_autoindex = no } mailbox Trash { special_use = \Trash auto = subscribe } mailbox Archive { special_use = \Archive auto = subscribe }
mailbox Sent { special_use = \Sent auto = subscribe } }
service imap-login { inet_listener imap { port = 0 } inet_listener imaps { port = 993 } }
Can you enable rawlogs with
rawlog_dir = %{home}/rawlogs/
and mkdir rawlogs, with 0777 under user's mail home. Would be interesting to see what these invalid imap commands are.
Aki