-
Hello, I would like to set up a second maddy server as a backup for the main maddy server as I had it with postfix. It worked in such a way that if the main server is unavailable, the second server stores the message and periodically tries to send it to the main server. Is this possible using maddy? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
For example, on secondary MX:
On primary MX:
|
Beta Was this translation helpful? Give feedback.
-
Thanks to the advice above I successfully setup a secondary MX server. Both primary and secondary server have rspamd configured. Spam received and detected on the secondary MX is marked correctly (X-Spam-Flag/Score), but not quarantined (moved to the junk folder) when delivered to the primary mail server. Is there a way to achieve this? |
Beta Was this translation helpful? Give feedback.
target.queue
can be used instead of a local storage. The only problem is making sure secondary MX knows what emails are valid, it would be unwise to just accept any and all emails independently of the account name. Also you need to setup a secondary endpoint with authentication on primary MX to accept relayed messages while bypassing security checks (SPF, for example, would almost definitely fail and cause false positives).For example, on secondary MX: