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

nuved opened this Issue Dec 12, 2018 · 2 comments


3 participants
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 not


This comment has been minimized.

Copy link

ofthesun9 commented Dec 14, 2018

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:,


This comment has been minimized.

Copy link

muhlemmer commented Dec 15, 2018

#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 closed this in 4c7cdeb Jan 2, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment