Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find smtp address

Status
Not open for further replies.

matty1404

MIS
Feb 12, 2007
74
0
0
US
How do you find what your smtp address is?
 
Usually it would be the interface on the server or router or firewall that has your public ip address. A common way is to ping your external domain name. For example if your email address is yourname@yourcompany.com ping yourcompany.com - this should work internally as long as ICMP is allowed and your internal and external domain names are not the same.
 
You can use nslookup to check your SMTP IP address:
>nslookup
>set type=mx
>Yourdomain.com --> this is the domain name after @
 
Richard's approach is correct. It's usually best to query MX records from outside your own network - from an ADSL or dial-up connection for example. This will avoid any confusion if you are using the same namespace for internal and external DNS, but have the public and private zones on seperate servers. This is very common, as most companies have their public DNS zones managed by a third-party, for example, their ISP.

Ben Christian
MCSE, MCSA:Messaging
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top