Computing.Net > Forums > Linux > Sendmail backup server

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Sendmail backup server

Reply to Message Icon

Name: Carey Kelly
Date: October 18, 2002 at 16:55:51 Pacific
OS: RH 7.0
CPU/Ram: Does it matter?
Comment:

OK here it goes. I have an email server working perfectly and has been. I want to set up a backup server so that when the primary goes down the secondary will pick up. This itself is not the issue. What I need to know is:

It's friday and the main goes down. I have my mail reader closed till monday. All mail goes to backup. main comes back up sunday night. I come in monday check mail and have none on main. it is on the backup server.

Is there a way (script) to keep them both without having to use the backup only as a relay and without having to copy the mail to the main server? Otherwise I'll have to write a script that says any mail held here for more than Xhrs relay it? Or something like check main main up relay to main?

I know people have this done, but how and who did it? I have read and searched and noone has it that I can find. I did see something on a Korean site, but only read english and not very well at that.

Any help or thought would be apprecitaed.
Thank you...(need spell checker)



Sponsored Link
Ads by Google

Response Number 1
Name: David Perry
Date: October 18, 2002 at 20:48:40 Pacific
Reply:

Have a look at RFC 974 for details about Mail Routing and the Domain System

Also known as Mail Exchange records, MX records create mail routes. The first field in record data is the priority value; this is the order in which mail hosts will be used by an outside mail server trying to send mail to a domain. Mail hosts will be contacted from the lowest priority value and work up to higher prriority values. If two MX records have the same priority value, they will be used in random order. Mail servers with the same priority value will not forward to each other, nor will they forward to a mail server with a higher priority value. After the priority is the name of the mail host.
example.com. MX 10 mail.example.com.


0

Response Number 2
Name: Carey Kelly
Date: October 19, 2002 at 21:12:53 Pacific
Reply:

I know.. that is why I was wondering of a script or somethine available to forward the mail after main comes back up. Does procmail have the feature? Can you put a time map into a .forward file?

Thank you...


0

Response Number 3
Name: KenHorse
Date: October 19, 2002 at 21:43:46 Pacific
Reply:

Check out rsync. It's purpose in life is to do exactly what you're wanting...

(well, not specifically mail but "mirrors" as it were...._


0

Response Number 4
Name: Carey Kelly
Date: October 20, 2002 at 01:07:42 Pacific
Reply:

Anyone used fetchmail?


0

Response Number 5
Name: Danny Larouche
Date: October 21, 2002 at 07:22:02 Pacific
Reply:

Carey, as David said, the problem come from your zone's MX entries. Give a lower priority to the backup server will fix the problem. As soon as the main server will be up, email will arrive by themself.

Even without backup server, sender's email server will wait until 4 days and automatically retry. Then backup server is not a must most of time.


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Sendmail backup server

Redhat backup server www.computing.net/answers/linux/redhat-backup-server/29836.html

sendmail + exchange server 5.5 www.computing.net/answers/linux/sendmail-exchange-server-55-/21447.html

Exchange Server www.computing.net/answers/linux/exchange-server/10832.html