- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sendmail to Exchange without DNS
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 07:35 AM
02-15-2001 07:35 AM
I am doing some sendmail test on one 715 workstation.
We are not using DNS. So,
1) vi /etc/mail/sendmail.cf
add Dj$w.mydomail.com
2) /etc/mail/sendmail.cw
It contains : localhost, ws001, ws001.mydomain.com three lines.
3) /etc/hosts looks like this:
127.0.0.1 localhost loopback
x.x.x.x ws001.mydomain.com ws001
4) vi /etc/nsswitch.conf : take away all "DNS"
And it works fine on several UNIX workstation. But when I tried to sendmail to exchange server, it doesn't work any more.
( I have added the exchannge server's IP and fully qualified name in /etc/hosts. And I can ping it.)
Do you know how to get this going?
Thanks in advance!
Sharon
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 07:54 AM
02-15-2001 07:54 AM
Re: sendmail to Exchange without DNS
For my environment, sending an email from my Unix box to the Exchange server is very straight-forward. sendmail.cf is unchanged and I rely on the MX record in the DNS for the Exchange Server to successfully send the email.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 08:18 AM
02-15-2001 08:18 AM
Re: sendmail to Exchange without DNS
/etc/mail/sendmail.cf (.. no changes to this file)
/etc/mail/sendmail.cw
localhost
/etc/nsswitch.conf
/etc/hosts then continue
DNS then return
/etc/resolve.conf
domain
nameserver
Remember, at some point, you have to find a DNS server to forward mail. So if you aren't set up as a Domain Name Server than it has to go out and find the the DNS server your going to use ( with /etc/resolve.conf) and try to resolve where your sending the mail...
double check your work doing nslookups for ip and name, then try doing a sendmail -v and make sure it routes properly..
Hope I didn't leave anything out,
/rcw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 09:23 AM
02-15-2001 09:23 AM
Re: sendmail to Exchange without DNS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 10:54 AM
02-15-2001 10:54 AM
Re: sendmail to Exchange without DNS
I got it going finally. What I did was:
Found out our exchange server is: exchange1
And the ip is y.y.y.y
our domain is mydomain.com
So, I added an entry in the /etc/hosts:
y.y.y.y mydomain.com mydomain
Then I was able to use sendmail to send email to users on exchange users.
Thanks for all the help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 12:05 PM
02-15-2001 12:05 PM
SolutionDSmydomain.com