app icon indicating copy to clipboard operation
app copied to clipboard

MX setting for custom domain on self hosted instance

Open skyshe opened this issue 1 year ago • 1 comments

first - brilliant product, just set up using the self hosting instructions which were straightforward

I encountered multiple MX configuration problems in the process of self hosting configuration. I want to configure multiple MXs in simplelin.env as the mx record of the custom domain. The example shows the configuration of a single mx record, but I tried several writing methods to configure mx, which did not work. How can I write code to display correctly in the mx record of the custom domain name?

tips: My conf,Not as expected image image

your conf,Meet expectations image

Best day, Thank you

skyshe avatar Jun 19 '23 06:06 skyshe

@skyshe you can set this config variable EMAIL_SERVERS_WITH_PRIORITY, here's how we do it:

EMAIL_SERVERS_WITH_PRIORITY=[(10, "mx1.simplelogin.co."), (20, "mx2.simplelogin.co.")]

nguyenkims avatar Jul 19 '23 12:07 nguyenkims