Closed stefangries closed 1 month ago
Hi @stefangries
It's seems to be failing after login.
It looks like you're using the container here, but below I'll write the commands as though you had imap-backup installed locally. You'll need to prepend the Docker invocation.
Please try 2 things:
imap-backup backup --accounts XX@XX.XX --verbose --verbose --config foo.json
imap-backup remote folders XX@XX.XX --verbose --verbose --config foo.json
I have tried everything you have written. No errors occurred. Then I went back to my initial command. No more errors either. I don't get it - but that's how it is.
But the next time I ran it, the error was there again. I think I will run your verbose commands a few more times and hopefully collect error messages.
Just to make sure I'm understanding this correctly: When using --verbose --verbose
the string "failed with error closed stream" should be present in the log as well, right? The output is too long to check it by hand, so I just searched it for this string.
@stefangries Any updates on this?
Actually, I'm still on debugging this.
@stefangries I'll close for now. If you discover any new info, feel free to repoen.
With one of my accounts, the backup always aborts - every time I try. The problem always occurs after about the same amount of time. Here is the error:
Serverside Mailcow/Dovecot:
Jan 27 05:53:48 fe4f90b52719 dovecot: imap(XX@XX.XX)<65397><5fK2B+YPPJisFgH4>: Disconnected: Logged out in=2235 out=22086 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0