Solved

howto setup a backup mx server?

Posted on 2002-07-21
7
282 Views
Last Modified: 2010-03-18
My friend has a mail server, however, sometimes his machine is not online and would like me to be a backup mail server for him.  I know how to setup my machine as backup in the DNS entry but what program is good to handle backup mail servers?

FWIW,
My machine is Mandrake 8.2
0
Comment
Question by:calvinrsmith
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 15

Accepted Solution

by:
samri earned 30 total points
ID: 7168603
Calvin,

Basically you would need to have the MX entries for the domain to point to your mail server (I would presume it's sendmail).  Make sure the MX preference is lower (higher number).  In this case, any mail will get sent to the default server (your friend's email server), in case that the server is not reacheable, then your server will be contacted.

Take a look at Virtual Hosting page on Sendmail's website for more detail on how to get it done.
http://www.sendmail.org/virtual-hosting.html
Basically, what needs to be done on your sendmail is to enable add yourfriends domain to /etc/mail/sendamil.cw, configure the virtusertable to have the entry

@yourfrienddomain.com          %1@yourfrienddomain.com


With this approach your server will be accepting mail for @yourfrienddomain.com, and with the virtualuser mapping, an attempt is made by your server to send the mail to the actual recipient (@youfrienddomain.com).  However, since the server is not reachable, the mail will spool in your machine.  Another attempt will be made in the future based on your sendmail setting (4hrs, 1 day, etc .etc).

Depending on the volume of mail (# of mails, and size), you would need to have an ample space in /var/spool/mqueue.

Cheers.
0
 
LVL 1

Author Comment

by:calvinrsmith
ID: 7169854
Sendmail looks to complicated to setup for such a simple task, is there an easier program?
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7169885
some people find qmail or postfix "easier" (whateverthismeans:)
0
Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 
LVL 15

Expert Comment

by:samri
ID: 7169998
calvin,

ahoffman is correct.  Easy/Complicated is really depending on how often you try.  I would say sendmail is pretty straightforward, somebody else might say qmail or postfix (*grin* at ahoffman).

Perhaps you might take a look at other alternative - postfix or qmail, and decide.  Then maybe we all could elaborate on that.

To make like a bit easier (I hope), grab yourself a copy of Webmin (http://www.webmin.com/webmin/) and try the web based admin for Sendmail, or Postfix, (and I think Qmail too).  Still some understanding of virtual hosting is required.

cheers.
0
 
LVL 20

Expert Comment

by:Gns
ID: 7217060
Uhm, Since you have a Mandrake8.2, you probably already installed postfix Calvin.
Webmin is included in the distro too, so you should just have to install it;).

-- Glenn
0
 
LVL 20

Expert Comment

by:Gns
ID: 8648004
So (10 months, more or less, later) is it time to "elaborate" now, or did you get anything set up?

-- Glenn (Who is going through the "real-old-unlocked-questions" he has commented in)
0
 
LVL 1

Author Comment

by:calvinrsmith
ID: 8648315
forgot about this,  i eventually found a copy of eXtremail and set it up.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question