From 1e98135ab8f6bfa8d1e5df9229440df8b5046b36 Mon Sep 17 00:00:00 2001 From: Lukas Schulte-Tickmann Date: Fri, 2 Oct 2020 10:39:38 +0200 Subject: [PATCH] added: info how to preventing timeouts (#15) --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 19362a9..46f02a7 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,12 @@ You could change the buffer size with `-b`/`--buffer-size` to increase the downl If you know the source mailbox has a lot of small mails use a higher size. In the case of lager mails use a lower size to counter timeouts. For bad internet connections you also should use a lower sized buffer. +### Preventing timeouts +To prevent timeouts, both server (the source and destination) will automatically be set into the IMAP idle mode. Most +servers can hold this idle mode for 30 minutes. The idle mode restarts every 28 minutes (1680 seconds) so there should +be no timeout. If a timeout occurs nevertheless you can change the restart interval by using `--idle-interval` followed +by the desired number of seconds. + #### Use of source-mailbox argument As a further optimization you can target specific mailboxes you want to sync to the destination (versus the default of everything). Use `--source-mailbox ` to only sync that one mailbox. The flag can be specified multiple times to