Operating System - HP-UX
1827294 Members
1767 Online
109717 Solutions
New Discussion

sendmail - routing problem

 
SOLVED
Go to solution
Witter
Occasional Contributor

sendmail - routing problem

I wish to setup an email gateway in front of my backend mailservers. the gateway seperate the internal mailservers from internet. now i must address two backend servers. with one backend server this not the problem. i use the mailertable to address my backendserver. is there a possbilitiy to address also the second backendserver if the first one fails? Without manualy configuring the mailertable.
2 REPLIES 2
Geoff Wild
Honored Contributor
Solution

Re: sendmail - routing problem

I'm not too sure I understand what you are trying to do....

But...what if you setup a "smartrelay" which in DNS is a MX record to of both your back end servers.


sendmail.cf
# "Smart" relay host (may be null)
DSsmtpback

# nslookup
> set type=mx
> smtpback

smtpback.yourdomain.com MX preference = 10, mail exchanger = back1.yourdomain.com

smtpback.yourdomain.com MX preference = 20, mail exchanger = back2.yourdomain.com


Rgds...Geoff

Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Witter
Occasional Contributor

Re: sendmail - routing problem

Thanks for your hints. The smarthost functionality isn't possible in my configuration, because this gateway is for inbound and outbound mailtraffic.
But i can configure my mailertable in the same way, so that my inbound mailtraffic will be routed to smtpback.mydomain.com. Here i can configure a MX Record for my two backendservers. This should work.

thanks

ralf