How do I filter all e-mails from various Discourse instances?


(_Vi) #1

I want all Discourse-generated e-mails to be automatically moved to a folder on e-mail client.

Which rule shall I use for detecting Discourse-originated e-mails? I don’t see any obvious tags.

(Jeff Atwood) #2

If you view source on the email you should be able to find the headers.

In GMail this is the “show original” menu item.

(_Vi) #3

Found only one pattern:
“Message-ID” (or analogous header) begins with “topic/”

Expected to see the word “discourse” somewhere in headers…

(system) #4

(Sam Saffron) #5

Just confirming this is about the best you can do, we do not place a particular custom header on every single email we send. You would need a rule per site or trytopic/* in the Message-ID which may have false positives.

(Sam Saffron) #6