The default email contact in a Discourse-generated TOS is based on the contact email setting in the admin panel, which is initially set from the yaml file during installation omarfilip. This setting can be changed by editing the TOS page.
Paulrudy wanted to use an external email address, which they didn’t want to make public, and was looking for a way to add a custom incoming email address to the admins group. However, this isn’t possible with default groups, only with custom groups paulrudy.
A possible solution is to create a custom group with admins as members and assign a custom incoming email address paulrudy. HAWK also confirmed that the default email is based on the contact email in the admin settings.
I noticed in my Discourse-generated TOS, the contact email given is admin@[example.com], where [example.com] is the domain of my Discourse install.
What is that default email is based on? I can’t seem to find a setting in Admin.
And for an install that is receiving mail directly, is Discourse’s mail-receiver equipped to receive emails addressed to anything other than the ones specified for topic replies and topic posts (if enabled)?
Ah ok, that makes sense. I initially installed using an email address that I later changed in the settings.
Re the contact email in the Required settings: since that seems to be primarily for Discourse-generated emails, I’m using an external email address, which I don’t want to make public to users.
A great solution would be if I could add a custom incoming email address to the admins group, but it looks like that’s not possible with default groups, only groups I create. Any idea why? Do I have to set up a custom admins group in order to receive email within the app for this purpose?
Edit: Maybe I’ve made a wrong assumption. If my Discourse is at forum.example.com—and I am not using an external smtp service for incoming mail—can I set the contact email in admin to admin@forum.example.com?
Edit 2: Just tested that, and the answer is no. The response is Email::Receiver::BadDestinationAddress