Results 1 to 2 of 2

Thread: postfix as backup mx mail server

  1. #1
    Join Date
    Aug 2013
    Beans
    59

    Question postfix as backup mx mail server

    Hi all,


    my need is to setup postfix as backup mx mail server.
    I mean, this server should receive mail for particular host when main mail server is down.


    I know that I should set dns record, but what configuration should I set at postfix to perform it?

  2. #2
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    9,858
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: postfix as backup mx mail server

    Just set it up as you would for the primary, but make sure you don't specify $mydestination to point to your domain. That would tell Postfix to deliver the mail locally.

    Postfix should recognize that it's the secondary MX from the domain's DNS records and queue the mail. When your primary comes back online, it will despool the queued messages.
    If you ask for help, please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •