- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Configuring sendmail with Microsoft Exchange 2...
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-08-2002 01:39 AM
02-08-2002 01:39 AM
I have a HP box with sendmail installed.
Microsoft exchange 2000 server is installed on another machine and a SMTP daemon is running on that system.
Now i need to configure sendmail to talk to this exchange server.
Since i am not a Unix System Admin guy can some one please send me step by step instruction on how to go about it .
If some one can send me some documents related to the above topic .... it will be really helpful
Thanks in advance
Amar
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2002 04:24 AM
02-08-2002 04:24 AM
Re: Configuring sendmail with Microsoft Exchange 2000 on HP 11.00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 01:35 AM
02-15-2002 01:35 AM
Re: Configuring sendmail with Microsoft Exchange 2000 on HP 11.00
1) Simply edit your /etc/hosts file in your HP-UX box. Add IP address and hostname of your Windows NT server in that file:
Ex.
10.1.1.1 myntserver
To make sure the connection is OK you can ping your NT box. (Ex: ping myntserver)
2) Edit your /etc/mail/sendmail.cf file,
if your DS macro (smart relay host) is empty you can add your NT's hostname here. Example:
DSmyntserver
3) Restart your sendmail daemon using this command:
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
4) Type this command for testing your configuration
/usr/sbin/sendmail -v user@myntserver
Type your message and type '.' followed by Enter key to send your message.
5) If your sendmail configuration is ok and your SMTP daemon in your Windows running properly, your message will run correctly.
I did those steps above and work fine. You can also edit /usr/mail/root to forward automatically every message or alert sent to root's mailbox.
I hope this describe can help you...
Bye,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 01:36 AM
02-15-2002 01:36 AM
Solution1) Simply edit your /etc/hosts file in your HP-UX box. Add IP address and hostname of your Windows NT server in that file:
Ex.
10.1.1.1 myntserver
To make sure the connection is OK you can ping your NT box. (Ex: ping myntserver)
2) Edit your /etc/mail/sendmail.cf file,
if your DS macro (smart relay host) is empty you can add your NT's hostname here. Example:
DSmyntserver
3) Restart your sendmail daemon using this command:
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
4) Type this command for testing your configuration
/usr/sbin/sendmail -v user@myntserver
Type your message and type '.' followed by Enter key to send your message.
5) If your sendmail configuration is ok and your SMTP daemon in your Windows running properly, your message will run correctly.
I did those steps above and work fine. You can also edit /usr/mail/root to forward automatically every sending message or alert to root's mailbox so you can monitor your HP-UX server from your Windows desktop.
I hope this describe can help you...
Bye,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 05:01 AM
02-15-2002 05:01 AM
Re: Configuring sendmail with Microsoft Exchange 2000 on HP 11.00
Thnaks for the response.
At last some one responded.
I had already tried the steps given described by you. When i give the command
/usr/sbin/sendmail -v user@myntserver
I get the following message
user@myntserver... myntserver: Name server timeout
user@myntserver... Transient parse error -- message queued for future delivery
Hello ! This is a test message
.
user@myntserver ... queued
There are certain queries i have .
1) Do i need to configure DNS(BIND) services on my UNIX box.
2) There is a way to test whether port 25 of NT server can accept ur request or not.
telnet myntserver 25
But in my case it doesn't gets connected
Trying...
Connected to myntserver.
Escape character is '^]'.
Connection closed by foreign host.
Does that mean that smart relay is not configured on my Exchange server??
Well my network admin guy says that SMTP server is running and he even showed me by sending some mails through it.
But i am not too sure about it.
can u help me with that
Bye the way my name is Amar ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 06:06 AM
02-15-2002 06:06 AM
Re: Configuring sendmail with Microsoft Exchange 2000 on HP 11.00
Can you ping your exchange server?
As your telnet failed I would imagine not.
Do you have any devices between your HP box and the MS box.
Try a traceroute from the HP server and a tracert from the MS system.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 07:04 AM
02-15-2002 07:04 AM
Re: Configuring sendmail with Microsoft Exchange 2000 on HP 11.00
The error message:
"user@myntserver... myntserver: Name server timeout" indicates that you are having a problem with the DNS server. Try:
nslookup myntserver
and see what it says. Odds are that it will time out. It should eventually go to your /etc/hosts file to pull the ip address but I don't think that is working either.
You can change the order of the search to make it work or get your DNS server to respond. DNS server are stored in /etc/resolv.conf
and the file /etc/nsswitch.conf controls the order that it looks in.
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2002 06:23 PM
02-17-2002 06:23 PM
Re: Configuring sendmail with Microsoft Exchange 2000 on HP 11.00
Right now in our HP-UX box have not been configured DNS yet and there is no problem occurred according this issue. And I guess you never get any connection to your Windows via telnet, unless your Windows server has started its telnet server.
Try this:
- edit your sendmail.cf file and check the Dj$w macro. Uncomment it by deleting '#' and change "Dj$w.FOO.com" to "Dj$w." (don't forget the dot at the end of macro).
- As Mr. Ron Kinner said, edit /etc/nsswitch.conf. Add lines:
hosts: files
aliases: files
- Restart again your sendmail daemon.
- Try sending your message.
I hope my describe can help you.
Regards,
Doni
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2002 07:41 PM
02-17-2002 07:41 PM
Re: Configuring sendmail with Microsoft Exchange 2000 on HP 11.00
The sendmail is looking for DNS by default because that is how it is configured by defaukt for sendmail. Edit the file /etc/mail/switch.conf and choose files as your default name resolution. Then restart sendmail and try the sendmail once again.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2002 09:29 PM
02-17-2002 09:29 PM
Re: Configuring sendmail with Microsoft Exchange 2000 on HP 11.00
Paula
Yes i can ping my MS box from my UNIX server.
Ron
I tried the command nslookup myntserver
and it gave the correct IP Address and Server name. It is using /etc/hosts file for name resolution .
Well i now have a big problem, my sendmail daemon is not running after making all the changes. I don't know why .
When i give /sbin/init.d/sendmail start
it gives me no messages but when i look for the sendmail process ps -aef |grep sendmail
i don't get any process listed.
This was running absolutely well before ... i don't know what went wrong.
Here are the changes i made
Dj$w. in /etc/mail/sendmail.cf file.
changes in /etc/nsswitch.conf ( as described by u )
Rebuild the aliases database. ( i don't think this should be a problem )
changed /etc/mail/switch.conf as asked by Sanjay.
I even tried undoing all the things i did above , but the same result.
Where have i gone wrong ... can anyone help me on that.
Amar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 01:59 AM
02-19-2002 01:59 AM
Re: Configuring sendmail with Microsoft Exchange 2000 on HP 11.00
I was able to start the sendmail server by the following command.
/usr/lib/sendmail -bd -q15m
( /sbin/init.d/sendmail start didn't work )
All the changes were made.
Now when i give
/usr/sbin/sendmail -v user@mynthost
i get the following message
user@mynthost... Connecting to mynthost. via esmtp...
abatham@mynthost... Deferred: Connection reset by knightsindia.co.in.
Closing connection to mynthost.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 02:07 AM
02-19-2002 02:07 AM
Re: Configuring sendmail with Microsoft Exchange 2000 on HP 11.00
Its likely there are some access rules on the exchange server that are preventing you hpux host from connecting. Talk to the administrator and ask him to add your hpux systems ip address to this list.
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2002 03:41 AM
02-19-2002 03:41 AM
Re: Configuring sendmail with Microsoft Exchange 2000 on HP 11.00
That did the trick for me Steven. Now i am able to mail it.
I would also like to thank Doni, Sanjay, Paula and Ron for all the help.
Well at present i can only mail in my own domain, can someone tell me how do i configure the sendmail to send mail to some other domain/s.
Once again thanks
Regards
Amar