Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Backup mail server
Results 1 to 4 of 4

Thread: Backup mail server

  1. #1

    Backup mail server

    Hi Linux gurus,

    I want to put a backup mail server for my sendmail. If my primary server fails to response then my backup server have to take care of users request. Users request will automatically forward to the backup server for sending & receiving mails. can any one help me on this.

    Thanks in advance,
    Purushoth

  2. #2
    Administrator Associate gr8rcake's Avatar
    Join Date
    May 2004
    Posts
    44
    I'd try making your mail server have an alias IP address, in addition to its primary one. When the mail server shuts down, create the same mail alias IP address on the backup server.

    The one problem is the ARP tables on your router may have to be cleared so that it can associate the new MAC address of your backup server's NIC with that of the IP alias.

    You can do this by sending a ping to the router using the alias IP as your source address.

    Code:
    # ping -I alias-ip-address router-ip-address
    You should try it a couple times with a test system to be sure.

  3. #3
    Hi,

    can we make it as an automatic process with the help of dns, if one server fails DNS will redirect the request to backup server with the help of MX Record. Waiting for your reply.

    Regards

  4. #4
    Administrator Associate gr8rcake's Avatar
    Join Date
    May 2004
    Posts
    44
    There are better ways than using DNS to provide redundancy. You still have to write a monitoring script on your monitoring server, update zone files on your DNS server, restart bind. A high DNS TTL value can cause further delays, and occasionally, TTLs are not honored by caching DNS servers.

    The IP swapping method is instantaneous.

    There is a project called Linux-HA that could help. Their product does monitoring and will automatically flip the mailserver VIP for you (assuming they are on the same network subnet).

    This should reduce the amount of scripting and testing you will need to do.

Similar Threads

  1. Replies: 1
    Last Post: 01-21-2011, 12:06 AM
  2. make backup/image of centos5 to install on new server
    By beemer832 in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 10-22-2010, 05:49 AM
  3. Problems sending mail to users on my mail server
    By Ed McCorduck in forum Linux - Software, Applications & Programming
    Replies: 8
    Last Post: 06-23-2004, 10:18 AM
  4. What to do about a Mail Server?
    By Vagrant in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 03-15-2003, 03:48 AM
  5. mail server
    By agar in forum Linux - Hardware, Networking & Security
    Replies: 14
    Last Post: 02-14-2002, 12:34 AM

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
  •