Debian 10 Multiserver setup

Discussion in 'Installation/Configuration' started by chief, Sep 6, 2021.

  1. chief

    chief Member HowtoForge Supporter

    I setup (as you know) the multi server debian 10, 7 machines. Followed your tutorial and its all working but using ISPConfig 3.2dev20210820, as i encountered the bug for self generated cert failure. When will you merge working code to stable so i can then upgrade all the servers?
    Issue i have found as well, the tutorial states a backup mail server (mx2), but when testing the webmail server.. i unplugged network lead to simulate broken mail server and sent emails to test email address, the webmail server doesnt show that email.
    So, do i just add another a dns record stating mail - IP of backup server ?
    what is the best method to achieve is a server goes offline secondary mail server takes up the slack until primary is up again without human intervention?

    Cheers
    and keep up the good and excellent work
     
    Last edited: Sep 6, 2021
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    We announce ISPConfig releases on our website, via Facebook, Twitter, and in our Email newsletter.
     
  3. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    As described in the guide, you should create some necessary DNS records.

    In this case, you would need a A record for mx1.example.com pointing to the main nameserver and mx2.example.com pointing to the secondary server.
    For all domains that should have their e-mail delivered to your servers, add 2 MX records, both with the same priority, one pointing to mx1.example.com., and one pointing to mx2.example.com.
     
  4. chief

    chief Member HowtoForge Supporter

    I added dns under the domain like below image..
    [​IMG]

    [​IMG]
     
  5. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    The MX record is incorrect, it should point to mx1 and you should add a second record pointing to mx2.
     
  6. chief

    chief Member HowtoForge Supporter

    Thanks for the help Th0m,
    Like[​IMG]
     
  7. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    No, the name should be empty (or you should enter "@").
     
  8. chief

    chief Member HowtoForge Supporter

    Thanks Th0m, testing now..

    [​IMG]
    Also noted that webmail server doesnt replicate to second server based on tutorial,
    what do you suggest to change to make webmail server use mx1 & mx2 to send/recive emails with backup replication in mind. or isnt this possible in this setup.
    tried sending and webmail wont, it also wont receive any emails when mx1 unplugged from switch, if plugged in it will send/receive.
     
  9. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Yes, that's intended. Only receiving will work, so it "instantly" works when the other server is back up. For real redundancy, you need to set up a high available proxy in front of it.
     
  10. chief

    chief Member HowtoForge Supporter

    have sent email to test email, its not receiving it.
    Tested and failed the DNS - now displays mx1.tlwebservices.co.uk.tlwebservices.co.uk with mxtoolbox.com - https://mxtoolbox.com/SuperTool.aspx?action=mx:tlwebservices.co.uk&run=toolpage

    this is mostly my dns entries
    [​IMG]
     
    Last edited: Sep 10, 2021
  11. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

Share This Page