gauteh / lieer

Fast email-fetching, sending, and two-way tag synchronization between notmuch and GMail
http://lieer.gaute.vetsj.com
Other
554 stars 62 forks source link

confused about unread tag #201

Closed aaptel closed 3 years ago

aaptel commented 3 years ago

Hi

My notmuch config has:

[new]
ignore=/.*[.](json|lock|bak)$/
tags=unread;inbox

My lieer config has:

{"replace_slash_with_dot": false, "account": "-----@gmail.com", "timeout": 600, "drop_non_existing_label": false, "ignore_empty_history": false, "ignore_tags": [], "ignore_remote_labels": ["CATEGORY_SOCIAL", "CATEGORY_UPDATES", "CATEGORY_PROMOTIONS", "CATEGORY_PERSONAL", "CATEGORY_FORUMS"], "remove_local_messages": true, "file_extension": "", "local_trash_tag": "trash", "translation_list_overlay": []}

I believe these are the default for both.

I've done the initial 11GB pull (!) but all the emails have the unread tag in notmuch. It doesnt look like gmail remote unread tag is synced with the local maildir unread tag :(

I'm not sure if this is a bug or if I'm confused about the settings...

Thanks!

gauteh commented 3 years ago

All tags listed in new.tags will be added on pull by gmi, you'd want clear that list or maybe add new - and then immediately clear it as part of post-sync processing to avoid it being pushed back up. There are also ways to ignore tags, but that is not what you want here. I think the best way out of this is to:

1) Clear the list in new.tags in .notmuch-config, 2) then do a gmi pull -f to reset the local tags (won't pull the message-files anew).

On Tue, Aug 17, 2021 at 9:31 PM aaptel @.***> wrote:

Hi

My notmuch config has:

[new] ignore=/.*.$/ tags=unread;inbox

My lieer config has:

{"replace_slash_with_dot": false, "account": @.***", "timeout": 600, "drop_non_existing_label": false, "ignore_empty_history": false, "ignore_tags": [], "ignore_remote_labels": ["CATEGORY_SOCIAL", "CATEGORY_UPDATES", "CATEGORY_PROMOTIONS", "CATEGORY_PERSONAL", "CATEGORY_FORUMS"], "remove_local_messages": true, "file_extension": "", "local_trash_tag": "trash", "translation_list_overlay": []}

I believe these are the default for both.

I've done the initial 11GB pull (!) but all the emails have the unread tag in notmuch. It doesnt look like gmail remote unread tag is synced with the local maildir unread tag :(

I'm not sure if this is a bug or if I'm confused about the settings...

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gauteh/lieer/issues/201, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAN364GVR72LCJ3MOCCGJTT5K2K3ANCNFSM5CKQ3EZA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

aaptel commented 3 years ago

that seemed to work thanks!