redundant mail server

Discussion in 'Installation/Configuration' started by acumen, Apr 23, 2010.

  1. acumen

    acumen New Member

    can I setup 2 machine running ISPConfig 3.x and both of them can redundant each other? e.g. server A got domain (IP server B got (IP and running as mail server. If server A is down, all will forward to and temp store in server B, when Server A up again, the mail will send back to Server A. Same when server B is down. I know this also need DNS MX record to help. I already setup MX 10 point to and MX 20 point to the remaining should be how can postfix receive the emails if there's no such domain record? Is there any way I can set in ISPConfig? or I need to amend relay domain in ?
  2. Mark_NL

    Mark_NL Member

    You need to tell postfix on server B that it should accept mail for, and relay it to server A when possible.

    This can be done with the "relay_domains" settings of postfix.

    in your put:
    relay_domains = $mydestination,

    Now every mail for will be accepted, server B will automatically try to relay the mail to server A, if it fails it'll try it again after some time.
  3. acumen

    acumen New Member

    I saw relay_domains in point to, and in that file, it point to a mail_transport in dbispconfig. After all checkings, I know that it's about Email Routing in ispconfig. So, is that means I only need to add a in Email Routing section?

    In Email Routing, there is a destination field, what I have to put in? the's IP?
  4. Mark_NL

    Mark_NL Member

    Ah yes, ispc3, i forgot :)

    you can add an Email routing for yes

    then test it something like this:
    - add it
    - turn off postfix on server a
    - "tail -f /var/log/mail.log" on server b
    - send mail to [email protected]
    - check the log if it's accepted
    - turn on postfix on server a
    - check logs if it relays
    - check mailbox on server a

Share This Page