Sorry to drag you all into another “mail server 101”!
My YunoHost server
Hardware: Second hand HP Pro 3330 4gb RAM
YunoHost version: 3.6.4
I have access to my server : SSH, webadmin, directly via screen
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : No. Nothing beyond the defaults / following standard documentation.
Description of my issue
I have a foo.com
domain registered with Gandi DNS. I’ve setup Yunohost to be accessible on the members.foo.com
sub-domain (A record). I intend to use foo.com
for the main website (a _ynh package of some sort).
I would like to have users have their email addresses on user@foo.com
and not user@members.foo.com
. However, my main domain for Yunohost (used at post-install time) is the members.foo.com
domain.
So, I am wondering, can I choose members.foo.com
at post-install time, as I have done and then still configure my DNS records to use foo.com
as the main email domain? What should I keep in mind for this?
I was unsure because yunohost domain dns-conf foo.com
and yunohost domain dns-conf members.foo.com
are giving me very different configurations: members.foo.com
gives me all the DKIM/DMARC/SPF stuff.
PS
The https://yunohost.org/#/dns_config documentation is helpful! But: “For specific needs or specific setups, and if you know what you’re doing, you might want or have to tweak these or add additional ones (e.g. to handle subdomains).” can hopefully be expanded. I think it’s a pretty standard need to allow for a “mail.foo.com” or whatever when setting up a Yunohost. I will try to do this as my understanding improves.