Operating System - HP-UX
1833865 Members
2137 Online
110063 Solutions
New Discussion

Re: smtp relay, reconfigure new mail server

 
SOLVED
Go to solution
Todd McDaniel_1
Honored Contributor

smtp relay, reconfigure new mail server

Hi,

I have a client who just recently changed their email server and I was wondering what I needed to do to be able to route mail to the new exchange server from my HPUX 11.0 boxes. I have searched everywhere and cant find the old configuration for the old exchange server.

Does it even exist on my box or is there some external place that their new server needs to be reconfigured?

Their mail times out and gets queued on my unix box... However, I can send mail to myself and it goes on a different exchange server than the one they used to use.

-----------------------------------------------
stat=Deferred: Connection timed out with xxxxxxx.xxx.com.
-----------------------------------------------
sorry I'm sort of a newb on this smtp relay stuff.
Unix, the other white meat.
5 REPLIES 5
Ivan Krastev
Honored Contributor
Solution

Re: smtp relay, reconfigure new mail server

Check for DS entry in your sendmail.cf file.
It should be something like:
DSsmtp.server.com


regards,
ivan
George_Dodds
Honored Contributor

Re: smtp relay, reconfigure new mail server

From memory you could check in the sendmail.cf file, there should be a entry in there for the old exchange server that will need chamged.
Todd McDaniel_1
Honored Contributor

Re: smtp relay, reconfigure new mail server

Mine only has DS and thats it. I guess I need to add the full exchange server name there?
Unix, the other white meat.
Tim Nelson
Honored Contributor

Re: smtp relay, reconfigure new mail server

If the server is NOT configured to smart relay everything using DS macro it may be as simple as an MX record update in DNS.

Test:

nslookup
>server localhost
>set type=mx
>yourcompany.com

Review the returned MX lookups. If they are coorect for the new server then prob is not here. If they are incorrect then get somebody to update DNS correctly.

example:
set type=mx
> yahoo.com
Name Server: nagrna1-ntdns1.dom1.onyxna.net
Address: 172.20.1.10

Trying DNS
Non-authoritative answer:
yahoo.com preference = 1, mail exchanger = g.mx.mail.yahoo.com
yahoo.com preference = 1, mail exchanger = a.mx.mail.yahoo.com
yahoo.com preference = 1, mail exchanger = b.mx.mail.yahoo.com
yahoo.com preference = 1, mail exchanger = c.mx.mail.yahoo.com
yahoo.com preference = 1, mail exchanger = d.mx.mail.yahoo.com
yahoo.com preference = 1, mail exchanger = e.mx.mail.yahoo.com
yahoo.com preference = 1, mail exchanger = f.mx.mail.yahoo.com

Authoritative answers can be found from:
a.mx.mail.yahoo.com internet address = 209.191.118.103
c.mx.mail.yahoo.com internet address = 216.39.53.3
c.mx.mail.yahoo.com internet address = 216.39.53.2
f.mx.mail.yahoo.com internet address = 68.142.202.247
f.mx.mail.yahoo.com internet address = 209.191.88.247


Todd McDaniel_1
Honored Contributor

Re: smtp relay, reconfigure new mail server

I used the DS and Dj entries...

I assigned the relay to the DS entry and defined my other domain as the DJ entry.

Thanks all for your help!
Unix, the other white meat.