Цей вебсайт матиме обмежену функціональність, доки ми проводимо його обслуговування для поліпшення роботи. Якщо прочитана стаття не розв'язала вашу проблему і ви хочете поставити питання, наша спільнота підтримки з радістю допоможе вам на @FirefoxSupport у Twitter та /r/firefox на Reddit.

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

I made a bad filter and now all email have been moved to spam, can i delete the filter without starting thunderbird?

  • 1 відповідь
  • 2 мають цю проблему
  • 6 переглядів
  • Остання відповідь від Zenos

more options

Lots of spam coming from addresses other than .com and .net so I tried to filter by From, does not contain .com and .net. FAIL. Now all emails have been moved to Spam. Is there a way to undo, and is there a way to delete the filter or all filter without starting Thunderbird?

Lots of spam coming from addresses other than .com and .net so I tried to filter by From, does not contain .com and .net. FAIL. Now all emails have been moved to Spam. Is there a way to undo, and is there a way to delete the filter or all filter without starting Thunderbird?

Обране рішення

"Does not contain .com" and "does not contain .net" could be a tricky filter to set up. Are you familiar with De Morgan's Laws?

I'd have used "ends with", not "contains".

So, if it ends with .net or ends with .com, it's OK?

(from, ends with, .net) OR (from, ends with, .com) = NOT spam

OR means "Match any" in the way Thunderbird's filters do it.

So it's quite easy to set up two rules (in one filter) to identify good messages. But how to identify bad messages?

Negate both sides:

NOT ( .net OR .com) = spam

Apply De Morgan's rule:

(NOT .net) AND (NOT .com) = spam

so, Match All rule #1: From, doesn't end with, .net rule #2: From, doesn't end with, .com

Action mark and treat as spam

But you can't do that. There is no "doesn't end with" option. You could try with "contains" or more accurately, "doesn't contain" but I'm not at all sure it will recognize the dot character, and looking for occurrences of "net" or "com" is just too imprecise.

My solution would be the FiltaQuilla add-on and its regular expression capability. That would give me the ability to set up:

Match All rule #1: From (regex), doesn't match, /\.net$/i rule #2: From (regex), doesn't match, /\.com$/i

Action mark and treat as spam

This is not an approach that would work for me. I don't see any obvious correlation in my incoming email messages between the TLD in the email address and its spamminess.

Have you tried running Thunderbird offline to avoid your filters doing any more damage?

If you're feeling brave, you could edit the msgFilterRules.dat file in the relevant account in your profile. You should be able to find the lines containing your duff filter and delete them. You should be able to edit this file in Notepad.

Читати цю відповідь у контексті 👍 1

Усі відповіді (1)

more options

Вибране рішення

"Does not contain .com" and "does not contain .net" could be a tricky filter to set up. Are you familiar with De Morgan's Laws?

I'd have used "ends with", not "contains".

So, if it ends with .net or ends with .com, it's OK?

(from, ends with, .net) OR (from, ends with, .com) = NOT spam

OR means "Match any" in the way Thunderbird's filters do it.

So it's quite easy to set up two rules (in one filter) to identify good messages. But how to identify bad messages?

Negate both sides:

NOT ( .net OR .com) = spam

Apply De Morgan's rule:

(NOT .net) AND (NOT .com) = spam

so, Match All rule #1: From, doesn't end with, .net rule #2: From, doesn't end with, .com

Action mark and treat as spam

But you can't do that. There is no "doesn't end with" option. You could try with "contains" or more accurately, "doesn't contain" but I'm not at all sure it will recognize the dot character, and looking for occurrences of "net" or "com" is just too imprecise.

My solution would be the FiltaQuilla add-on and its regular expression capability. That would give me the ability to set up:

Match All rule #1: From (regex), doesn't match, /\.net$/i rule #2: From (regex), doesn't match, /\.com$/i

Action mark and treat as spam

This is not an approach that would work for me. I don't see any obvious correlation in my incoming email messages between the TLD in the email address and its spamminess.

Have you tried running Thunderbird offline to avoid your filters doing any more damage?

If you're feeling brave, you could edit the msgFilterRules.dat file in the relevant account in your profile. You should be able to find the lines containing your duff filter and delete them. You should be able to edit this file in Notepad.