Skip to content

Changing DOMAIN doesn't work #747

@MarekSuchanek

Description

@MarekSuchanek

I use Mailu 1.5 and I changed DOMAIN in .env but only change visible is for DNS DMARC, suggested MX and SPF remains for the old domain...

I used Mailu for single domain domain1.tld used in DOMAIN and HOSTNAMES. Now I want new primary domain domain2.tld but have the mail server on mail.domain2.tld. So i changed the .env:

DOMAIN=mail.domain2.tld
HOSTNAMES=domain1.tld,domain2.tld

and then docker-compose down + docker-compose up -d, but it won't get new certificate with TLS_FLAVOR=letsencrypt (still has cert for domain1.tld) and suggests domain1.tld for MX and SPF.

What else needs to be done to get it working correctly?

Thanks in advance for any advice...

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions