?
Solved

howto setup a backup mx server?

Posted on 2002-07-21
7
Medium Priority
?
295 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 120 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
WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

 
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

Cloud Training Guides

FREE GUIDES: In-depth and hand-crafted Linux, AWS, OpenStack, DevOps, Azure, and Cloud training guides created by Linux Academy instructors and the community.

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

765 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