[PATCH 2/2] adopted FAQ to resync all Mails (without having to download them)

Nicolas Sebrecht nicolas.s-dev at laposte.net
Wed Feb 15 20:43:54 GMT 2017


On Wed, Feb 15, 2017 at 07:13:44PM +0100, offlineimap at 927589452.de wrote:
> From: J <github at 927589452.de>
> 
> Signed-off-by: J <github at 927589452.de>

Applied. I've made changes, though.

> ---
>  _doc/FAQ.md | 20 +++++++-------------
>  1 file changed, 7 insertions(+), 13 deletions(-)
> 
> diff --git a/_doc/FAQ.md b/_doc/FAQ.md
> index f194d6b..ca787d9 100644
> --- a/_doc/FAQ.md
> +++ b/_doc/FAQ.md
> @@ -121,15 +121,14 @@ from the previous folder by the same name stored. Offlineimap will detect this
>  condition because of the changed UIDVALIDITY value and skip the folder.  This is
>  GOOD, because it prevents data loss.
>  
> -In the *IMAP/Maildir* case, you can fix it by removing your local folder and
> -cache data.  For instance, if your folders are in the metadata path `~/Mail` and
> -the folder with the problem is `INBOX`, you'd type this:
> +In the *IMAP/Maildir* case, you can fix it by removing your 

Trailing whitespace.

> +cache data.  For instance, you'd type this:
>  
>  {% highlight bash %}
>  $ mkdir ~/archives
> -$ mv ~/Mail/INBOX ~/archives
> -$ mv ~/.offlineimap/Account-AccountName/LocalStatus-sqlite/INBOX ~/archives/LocalStatus-sqlite-INBOX
> -$ mv ~/.offlineimap/Repository-RemoteRepositoryName/FolderValidity/INBOX ~/archives/FolderValidity-INBOX
> +$ mv ~/.offlineimap/Account-AccountName ~/archives/Account-AccountName
> +$ mv ~/.offlineimap/Repository-RemoteRepositoryName ~/archives/Repository-RemoteRepositoryName
> +$ mv ~/.offlineimap/Repository-LocalRepositoryName ~/archives/Repository-LocalRepositoryName
>  {% endhighlight %}
>  
>  {:.note}
> @@ -138,16 +137,11 @@ If you're using the plain text backend, change the above `LocalStatus-sqlite` to
>   
>  Of course, replace `AccountName` and `RemoteRepositoryName` with the names as
>  specified in `~/.offlineimaprc`.
> -
> -{:.warning}
> -{{ icons.warning }} Do move the directory {{ icons.end }}
> -from the metadata path (`~/Mail` in this sample). **There
> -should be NO MORE `INBOX` directory in it.**
>   
>  The reason is that moving it like this means like *"I've never synced this
> -folder before, download it on next sync"*.
> +folder before, do a full sync the next time"*.
>  
> -Next time you run offlineimap, it will re-download the folder with the new UIDs.
> +Next time you run offlineimap, it will match UIDs of all Local and Remote mails and will downloadthe ones which are not yet existing in the local repository.

Too long line and fixed the attached words.

>  
>  Some IMAP servers are broken and do not support UIDs properly.  If you continue
>  to get this error for all your folders even after performing the above

-- 
Nicolas Sebrecht




More information about the OfflineIMAP-project mailing list