[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

howto setup a backup mx server?

Posted on 2002-07-21
7
Medium Priority
?
303 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
  • 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
Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

 
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

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…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

872 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