I hope everyone has a good 2021!
My YunoHost server
Hardware: Some VPS
YunoHost version: 188.8.131.52
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
Description of my issue
Some of my emails are bounced by one of the major email providers in Germany. I have done the setup as well as possible, DNS configuration is done as per suggestions of Yunohost. This mail provider requires these two things:
“…In particular, we recommend choosing a host name that indicates its
usage as a mail server (eg. mail.example.com) and to ensure the host’s
domain leads to a website providing full contact details…” <<–!!
I think mainly the legal info is the problem.
Now the problem I have is either:
a) I need to add contact details to the main domain.
b) I need to have the mailserver main domain to be different from the main domain.
How do others deal with this requirement, especially that it is very reasonable to have contact details on a webpage that you host? It is even required by law in many countries I believe.
What I have done so far:
I did set up a new domain mail.example.com, I set up an application on that new domain in the main path (Bludit) to serve a page with contact/legal information. Which works fine. I can open mail.example.com and it will show the Bludit blog main page.
Then I made that domain (mail.example.com) my main domain via the admin webinterface, which worked fine. Now the mailserver has a cert for mail.example.com as oposed to before it had one for example.com.
But now when I try to login as a user I can’t succeed. I think there is now some loop that just takes me back to the login page again… and again… and again, each time I can login, not fault shown. (I made sure the password is correct, I even set a new password by the admin interface.
I can reach the login page by either going to https://mail.example.com/yunohost/sso/ or by going to https://example.com, which will forward me to https://mail.example.com/yunohost/sso/?r=YpD9PPSQv2y2n48MFVyw5aGHa=
Any tip is welcome, I wrapped my head around this for quite some time since last year (yesterday), but am not sure how to solve this.