goodytwoshoes
Verified User
- Joined
- Jul 12, 2019
- Messages
- 10
Good day all.
We understand that it should be technically possible to load DirectAdmin on a second server,
then load DNS with a higher MX value than the local host to have mail deliver to the second server and have it wait there until the primary MX comes back online.
We have been searching for forum posts about how to get this done as there are several technical aspects to resolve to have that work correctly,
1) How to ensure that email delivers to the secondary mx record, there should be some script we need to run to update domain lists on the backup mx so it always knows about a domain when its created, or delete when its removed.
2) Ensuring it spools mail while the primary mx is offline, perhaps there is some exim configuration that could accomplish this
3) Having the primary mx receive mail when it comes online again, perhaps some cron job on the secondary mx that does some check before a command is ran
4) some spam management on the secondary mx, seeing it wont know about which spam assassin rules are used on the primary mx server it may be required to relay spam during the time an outage occurred
5) queue management, how long does it keep mail in queue, perhaps also an exim configuration
6) if its possible to "replay" mails that were in the queue for an offline MX in the event that it came online and went offline again for example if a server died, not sure if this is even possible to contemplate
We have been searching for a solution that already exists, all seem to charge per domain and need manual configuration so it looks like it would need to be a self-configured setup
I wonder if this is something DirectAdmin might consider making a feature
and secondly,
Does anyone have any idea if this is even possible to implement, perhaps have some documentation on that.
Quite a shopping list, hopefully someone has been through this before who might be able to shed some light on this matter for us.
Thanks for reading
We understand that it should be technically possible to load DirectAdmin on a second server,
then load DNS with a higher MX value than the local host to have mail deliver to the second server and have it wait there until the primary MX comes back online.
We have been searching for forum posts about how to get this done as there are several technical aspects to resolve to have that work correctly,
1) How to ensure that email delivers to the secondary mx record, there should be some script we need to run to update domain lists on the backup mx so it always knows about a domain when its created, or delete when its removed.
2) Ensuring it spools mail while the primary mx is offline, perhaps there is some exim configuration that could accomplish this
3) Having the primary mx receive mail when it comes online again, perhaps some cron job on the secondary mx that does some check before a command is ran
4) some spam management on the secondary mx, seeing it wont know about which spam assassin rules are used on the primary mx server it may be required to relay spam during the time an outage occurred
5) queue management, how long does it keep mail in queue, perhaps also an exim configuration
6) if its possible to "replay" mails that were in the queue for an offline MX in the event that it came online and went offline again for example if a server died, not sure if this is even possible to contemplate
We have been searching for a solution that already exists, all seem to charge per domain and need manual configuration so it looks like it would need to be a self-configured setup
I wonder if this is something DirectAdmin might consider making a feature
and secondly,
Does anyone have any idea if this is even possible to implement, perhaps have some documentation on that.
Quite a shopping list, hopefully someone has been through this before who might be able to shed some light on this matter for us.
Thanks for reading
