Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen

Filter e-mails involving only a single specific domain

  • 4 Antworten
  • 0 haben dieses Problem
  • Letzte Antwort von david

more options

I am trying to set-up a filter that matches e-mails having all their contacts (sender, recipients, ...) from a single fixed domain (e.g. company.tld). It means that any e-mail having at least 1 contact (sender/recipient) not from company.tld would not trigger the filter. Is there a way to do this with standard Thunderbird filters? I also tried to use a regexp on the header with FiltaQuilla extension but it is not trivial.

Any help would be welcome. Thanks, Olivier

I am trying to set-up a filter that matches e-mails having all their contacts (sender, recipients, ...) from a single fixed domain (e.g. company.tld). It means that any e-mail having at least 1 contact (sender/recipient) not from company.tld would not trigger the filter. Is there a way to do this with standard Thunderbird filters? I also tried to use a regexp on the header with FiltaQuilla extension but it is not trivial. Any help would be welcome. Thanks, Olivier

Ausgewählte Lösung

Oh, I just realised I should use "sender:" "recipients:" and "ccList:" instead of "From:" "To:" and "Cc:"

Diese Antwort im Kontext lesen 👍 0

Alle Antworten (4)

more options

Maybe if you provide an example of what you're attempting, someone may offer suggestions.

Hilfreich?

more options

So far, using Filtaquilla Header Regex, I created 2 filters:

One to cover the case with a Cc field The Header Regex is the same for From: To: and Cc: fields /^(?:[a-zA-Z0-9._%+-]+@domain\.tld|[A-Za-z\s]+<[a-zA-Z0-9._%+-]+@domain\.tld>)(?:\s*,\s*(?:[a-zA-Z0-9._%+-]+@domain\.tld|[A-Za-z\s]+<[a-zA-Z0-9._%+-]+@domain\.tld>))*$/gi

One to cover the case without Cc field In this case the Regex is used for From: and To: fields And I have an additional rule checking that the Cc field does not contain "@" (using Mozilla standard rule)

Any clue?

Hilfreich?

more options

Ausgewählte Lösung

Oh, I just realised I should use "sender:" "recipients:" and "ccList:" instead of "From:" "To:" and "Cc:"

Hilfreich?

more options

Ok, I was thinking of the 'from, to, cc, bcc' option. I didn't think your solution would work, but I'm always happy to learn. :) I need to study this further. Thank you.

Hilfreich?

Stellen Sie eine Frage

Sie müssen sich mit Ihrem Benutzerkonto anmelden, um auf Beiträge zu antworten. Bitte stellen Sie eine neue Frage, wenn Sie noch kein Benutzerkonto haben.