Skip to content

Backup/Secondary MX #653

Answered by foxcpp
FZnachor asked this question in Q&A
Discussion options

You must be logged in to vote

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:

target.queue primary_mx_queue {
    target lmtp tls://mx1.example.org:2525 { # https://maddy.email/reference/targets/smtp/
        require_tls # You probably want this.
        auth plain "USERNAME" "PASSWORD" # Define authentication data …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by FZnachor
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants