Failover or HA: Ideas? #638
-
Hi I am considering hosting SimpleLogin myself. Has anyone tried running the system as a failover or HA? I'm trying to figure out what options are available to run the system somewhat reliably and continue to receive and sending mails in the event of a host failure. Do you have any ideas? Best, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@0xD4 the failover and HA is indeed a bit overkill for a personal email server as email protocol is quite fault tolerant: if your server is down, a sender will retry later in the future. Our self host doesn't support failover out of the box but you can run the same setup on another server and have another MX record pointing to it with a lower priority (i.e. higher priority value in the MX record and yeah this is counterintuitive) than the main server. Then you would need a shared database that SimpleLogin containers (sl-app and sl-email) can access from these 2 servers. |
Beta Was this translation helpful? Give feedback.
@0xD4 the failover and HA is indeed a bit overkill for a personal email server as email protocol is quite fault tolerant: if your server is down, a sender will retry later in the future.
Our self host doesn't support failover out of the box but you can run the same setup on another server and have another MX record pointing to it with a lower priority (i.e. higher priority value in the MX record and yeah this is counterintuitive) than the main server. Then you would need a shared database that SimpleLogin containers (sl-app and sl-email) can access from these 2 servers.