LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-19-2007, 02:48 AM   #1
sanjibgupta
Member
 
Registered: Apr 2003
Location: Kolkata
Posts: 215

Rep: Reputation: 30
sendmail relay


Hi

I have two ISP running. How can I relay my mails to the second ISP machine so that mail goes out even when the first isp is down (which is on the same LAN) after some time only if my first ISP is down.
I use redhat enterprise version and sendmail running on it.
Can it be relayed by sendmail after a interval say after 5 min.

Sanjib Gupta

Last edited by sanjibgupta; 04-19-2007 at 02:52 AM.
 
Old 04-19-2007, 06:08 AM   #2
gmckinney
LQ Newbie
 
Registered: Apr 2007
Location: Mims, Florida
Distribution: Multiple
Posts: 13

Rep: Reputation: 0
Easiest method is to configure DNS MX records to perform this - if one email server is down the secondary MX record take effect. In one of the domains you setup the email server for that domain as an MX record with a lower number and the other domain's email server as a higher MX record number - reverse for the other domain... Check out the docs for dns and mx records to see how this is done...

You will also need to setup the email servers to allow the each others domain to relay but block any outside email from being able to relay through the email servers (don't want to add to the spam issues do you?)...

gm...
 
Old 04-19-2007, 06:38 AM   #3
sanjibgupta
Member
 
Registered: Apr 2003
Location: Kolkata
Posts: 215

Original Poster
Rep: Reputation: 30
Thanks for your reply.
can you please tell me how do i setup email server so that the mails will be automatically routed through the other server when one isp is down(over lan as the machine is in the same lan).
Sanjib Gupta
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail Relay Help midmichmark Linux - Networking 1 12-29-2004 06:20 AM
Sendmail Relay johnsfrj Linux - Newbie 0 10-06-2004 10:25 AM
relay mail to sendmail relay server??? lemay_jeff Linux - Newbie 0 07-06-2004 04:54 PM
sendmail relay atomicx Linux - General 2 01-04-2004 01:46 AM
Sendmail relay kurgan70 Linux - Newbie 1 03-20-2002 11:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration