Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what is diffrent domain and hostname at .env docker-compose #742

Closed
nuved opened this issue Dec 12, 2018 · 2 comments
Closed

what is diffrent domain and hostname at .env docker-compose #742

nuved opened this issue Dec 12, 2018 · 2 comments
Assignees
Milestone

Comments

@nuved
Copy link

nuved commented Dec 12, 2018

I use mailu version 1.5.

It seems Domain parameter is used by letsencrypt and hostname is used for MX record so I put this value but I can just open the webmail with untrusted certificate, it seems letsencrypt just got ssl for smtp.domain.com not mail.domain.com

DOMAIN=mail.domain.com
HOSTNAMES=smtp.domain.com

@ofthesun9
Copy link
Contributor

hello,
letsencrypt will generate a certificate for the hostnames defined by HOSTNAMES (HOSTNAMES can have several values, separated by coma)

DOMAIN is used to define your mail domain name
The MX record of your DOMAIN shall point to a server defined in HOSTNAMES

My guess is that you want:
DOMAIN=domain.com
HOSTNAMES=smtp.domain.com,mail.domain.com

@muhlemmer
Copy link
Member

#747 is also related to this

@muhlemmer muhlemmer self-assigned this Dec 15, 2018
@muhlemmer muhlemmer added this to the 1.6 milestone Dec 18, 2018
@muhlemmer muhlemmer added the status/wip Work in progress. This will block mergify until the label is removed. label Dec 31, 2018
@muhlemmer muhlemmer added faq/done and removed faq/include status/wip Work in progress. This will block mergify until the label is removed. labels Dec 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants