From bfbd37802525279fbfbd540a6e06eafa60b90921 Mon Sep 17 00:00:00 2001 From: Sebastian Spaeth Date: Wed, 2 Nov 2011 15:56:33 +0100 Subject: [PATCH] Add FAQ item on "Mailbox already exists" error IMAP servers treating folder names as case insensitive can lead to that error. Signed-off-by: Sebastian Spaeth --- docs/FAQ.rst | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/FAQ.rst b/docs/FAQ.rst index e3a586b..29b53d6 100644 --- a/docs/FAQ.rst +++ b/docs/FAQ.rst @@ -219,6 +219,27 @@ as follows:: 2) while in sleep mode, you can also send a SIGUSR1. See the `Signals on UNIX`_ section in the MANUAL for details. +I get a "Mailbox already exists" error +-------------------------------------- +**Q:** When synchronizing, I receive errors such as:: + + Folder 'sent'[main-remote] could not be created. Server responded: + ('NO', ['Mailbox already exists.']) + +**A:** IMAP folders are usually case sensitive. But some IMAP servers seem + to treat "special" folders as case insensitive (e.g. the initial + INBOX. part, or folders such as "Sent" or "Trash"). If you happen to + have a folder "sent" on one side of things and a folder called "Sent" + on the other side, offlineimap will try to create those folders on + both sides. If you server happens to treat those folders as + case-insensitive you can then see this warning. + + You can solve this by excluding the "sent" folder by filtering it from + the repository settings:: + + folderfilter= lambda f: f not in ['sent'] + + Configuration Questions =======================