Skip to content

gmi ignoring filters that delete messages #315

Description

@jameswmills

First off, thanks so much for this work, it is incredible and really useful!

I have a gmail filter set up to delete all messages from a specific sender. The filter rule in gmail is:

Matches: from:(blockedemail@address.com)
Do this: Mark as read, Delete it, Never mark it as important

When looking at the gmail interface, it is handling the filter correctly. All email from the filtered sender is marked as read and in the trash. If I do "gmi sync", the first time it runs I get an exact representation of my gmail inbox. However, any subsequent runs of "gmi sync" also pull in all the filtered emails, leaving me with a stack of emails that should have been filtered.

I set this filter up after I was already using lieer, in case that is useful information.

Here are my gmi settings, which I think are the default:

$ gmi set
Repository information and settings:
Account ...........: myemail@address.com
historyId .........: 28770014
lastmod ...........: 67581
Timeout ...........: 600.000000
File extension ....:
Remove local messages .....: True
Drop non existing labels...: False
Ignore empty history ......: False
Replace . with / ..........: False
Ignore tags (local) .......: set()
Ignore labels (remote) ....: set()
Trash tag (local) .........: trash
Translation list overlay ..: []

This may be a bug, or may be a setting I'm missing, but so far I haven't been able to solve it. Thanks in advance for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions