Advertisement

12.11.2004 at 04:46PM PST, ID: 21239292
[x]
Attachment Details

Howto create a backup mail server

Asked by DrBeaker in SendMail Email Server

Tags: backup, sendmail, server, howto, mail

I've been looking at various docs regarding how to create a backup mail server using Sendmail under Linux.  

One set of docs seems to suggest that all I need to do is to add the domain for what I want to act as a secondary mail server for to /etc/mail/relay-domains and set the MX records so that the primary mail server has a higher priority (lower number) MX record than the secondary mail server.

Eg:

adomain.com.         86400   IN      MX      10 mail1.adomain.com.
adomain.com.         86400   IN      MX      20 mail2.adomain.com.

I tried that, and it works while mail1 is up, but when it's down I get:

553 5.3.5 mail2.adomain.com. config error: mail loops back to me (MX problem?)
554 5.3.5 Local configuration error

Other docs suggest adding mail1.adomain.com as a delivery agent
or adding an alias
*@adomain.com    %1@adomain.com

1) Why doesn't simply adding the domain to /etc/mail/relay-domains work (assuming the appropriate MX records are in place)?

2) What's the "right" approach?  Adding mail1.adomain.com as a delivery agent feels wrong as does adding the alias.  Why should that help???  [Or do they mean
     *@adomain.com    %1@mail1.adomain.com
I could see why that would work, but it feels like a cludge]

I've also looked for useful sendmail docs relating to this, but with little success. Pointers please?
Start Free Trial
[+][-]12.11.2004 at 06:13PM PST, ID: 12802230

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.12.2004 at 06:46AM PST, ID: 12803891

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.12.2004 at 11:00AM PST, ID: 12804706

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.12.2004 at 11:29AM PST, ID: 12804834

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.12.2004 at 11:41AM PST, ID: 12804878

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.12.2004 at 11:54AM PST, ID: 12804926

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.12.2004 at 02:25PM PST, ID: 12805406

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.12.2004 at 03:49PM PST, ID: 12805679

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: SendMail Email Server
Tags: backup, sendmail, server, howto, mail
Sign Up Now!
Solution Provided By: jlevie
Participating Experts: 2
Solution Grade: A
 
 
[+][-]12.13.2004 at 03:21AM PST, ID: 12807835

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.13.2004 at 05:49AM PST, ID: 12809055

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32