(Can we?) Redirect all unrouted incoming emails to a category

On a forum I manage, we have some trouble with incoming emails:

  • the townhall send us email hiding the To:, the Cc: and the other fields
  • some senders have a moderate spam score
  • our settings are changing quite fast, and sometime we miss a category setting in our setup

For those reason, some emails bounce back, and some non-user correspondent are surprised to get an automatic reply from Discourse (they though we were just a regular mailbox).

We would like to redirect all incoming email (that is not marked as obvious spam) and that could not find a proper category on a «uncategorized incoming emails for manual review» category. Some kind of failsafe, or of «else» clause. Is it possible to add *@forum.mysite.org as a category email ? Is it possible with a plugin ?

We are using the Direct-delivery incoming email for self-hosted sites app, so a method using this tool would be perfect.

Thanks for your help !

1 Like

Maybe check out IMAP support for group inboxes.

I think what you’re asking would take a somewhat complicated plugin (but I don’t know that code well, so it might be easier than I think).

Similar problem here: when a mail is sent to Discourse using CCI field (instead of TO or CC) and the sender receive a BadDestinationAddress email. Is it possible to make Discourse accept such a mail?