I forward all my mail from one of my Gmail accounts to another Gmail account, including what Gmail would normally filter to the Spam folder. I use the is:spam
query with the Never send it to Spam
rule in the inbound filter to allow spam to be forwarded. Do note the use of is
rather than in
.
Therefore, I imagine you could do the same with the following filter:
Contains is:spam (vigara OR cilais)
, Action Delete it
.
If you wanted to apply the rule universally, you could instead use:
Contains (is:spam OR -is:spam) (vigara OR cilais)
, Action Delete it
.
Note that Delete it
automatically implies Never send it to Spam
so you don't need to check the latter check box. In fact, if you check it, Gmail will uncheck it automatically. I am uncertain as to whether this will impact Gmail's internal spam detection heuristics, but I find that improbable.
Caveat: you cannot delete permanently from a filter rule (I imagine Google believes the risk too great and not worth the potential increase in support costs), so those messages would end up in your Trash and get purged after 30 days. This may still be a better situation to find yourself in, depending on your preferences and the volume of spam you get (which could now make it harder for you to recover messages deleted by mistakes).
If cluttering your Trash is not desirable, you could filter those messages to a temporary label instead, then use an Apps Script to periodically delete "old" filtered spam from that label. That would ensure that the top of your Trash is clutter-free. If the volume of spam you receive is limited however, deleting might work just fine.
Based on my addition to the initial question, I feel like the answer is no (sort of).
The emails in question were skipping the inbox due to a "hidden" filter in the import settings for that address. This filter was not visible in the Filters section of the settings, and it was not applying a label, so there was no "easy" way to track down what was causing the problem.
The easiest way to track down what filters get applied is simply to make sure that every single filter (even these "hidden" ones) applies a label. That way, the label will quickly tell you what filter gets applied.
That's an easy solution for filters created under settings, but not quite so easy for the filters tucked inside Gmails import settings for other addresses.
Best Answer
You are correct. The only way to edit Gmail filters all at once is via a XML file.