Hi Sam,
I don't have exactly the same setup, but what might work for you is the
following:
move all messages without +flagged into a local Maildir (that is not
synchronized by offlineimap, i.e. "just a folder").
Notmuch will still be able to find your messages and your
synchronization time will go down significantly.
Hope that helps,
Dan
Sam Halliday <sam.halliday@gmail.com> writes:
> Hello all,
>
> I'm using emacs + notmuch + offlineimap + msmtp to manage my Gmail.
>
> My gmail account is starting to get so big that an offline sync is time
> consuming.
>
> I'd like to delete messages on the server, but keep them locally. Is
> that possible with IMAP?
>
> There is one complicating factor that stops me from being able to use
> fetch-only POP3: I'd like to keep files on the server if they have the
> +flagged tag, which is equivalent to "starred" in the Gmail interface.
>
> Has anybody got a setup similar to this?
>
>
> --
> Best regards,
> Sam
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> https://notmuchmail.org/mailman/listinfo/notmuch