-
-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
filtered mail mysteriously appearing in inbox #289
Comments
Actually, it's not just spam. I have filter rules in gmail such as the following: followed by: The idea being that I only want a thread from one of these mailing lists to arrive in my inbox if I'm involved in it (signalled by the manually applied As with the spam example above, the only explanation I can think of is that there could be some kind of race condition between lieer syncing as the email arrives in gmail but before all the rules have applied. Or is there another explanation? |
It could be that you have notmuch new and lieer somehow set up to add the inbox tag? With the new configuration options in notmuch this is confusing to get right, and I am unsure what is the best way to do that now. #277 (I see that you have already seen this issue..). Maybe you have to enable (or add) some more debug in either lieer or notmuch to figure out where that inbox tag is coming from. |
No, I definitely resolved that problem last week. The majority of incoming non-inbox email is not appearing in the inbox. In this issue I'm only describing a very small number of weird exceptions. |
It could be a collision, but then it should resolve itself on the next sync unless gmail is somehow not putting the spamming operation into its history. |
I do sometimes see in GMail web interface that I have email appearing in the inbox, and then have it spammed later. |
Interesting! I don't think I ever noticed this myself and I've been using gmail for years.
Could be. Is there any chance of making lieer's |
If the data is available without doing additional requests its possible :) Is that something you would like to implement yourself? My opensource-time is pretty sporadic nowadays. |
Maybe I can find time to look into it. If any pointers of things I should know for that spring to your mind, please let me know :) |
OK, many apologies for the noise - turns out this was a case of PEBKAC, a.k.a. my fault! After having solved #277 via
last week, earlier today I got fed up with having the
thinking that this would stop adding any tags on sync. However notmuch treats this as unsetting I'm now trying a value of
|
I just did a sync, and now when I locally query notmuch for
tag:inbox
withexclude_tags
set to the empty string rather thandeleted;spam
, I see a mail with both theinbox
andspam
tags, yet when I check via the gmail UI and IMAP, neither show that mail in the inbox.How is this possible? Was this perhaps a race condition of lieer against gmail first momentarily placing spam in the inbox before moving it out of the inbox, and lieer happened to pull the mail just before gmail moved it out? I would find that quite surprising, but I can't think of any other explanation.
The text was updated successfully, but these errors were encountered: