- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SAP -> sendmail -> Exchange
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
09-17-2002 02:14 AM
09-17-2002 02:14 AM
Hi, I hope somebody can help us with the following situation: we to configure Unix sendmail 8.9 on HP-UX 11.0 so that it can route email messages from the sap database to the windows exchange server.
I changed #Dj$w.Foo.COM in sendmail.cf to Dj$w.ourCompany.com. Also I've added the exchange host name and IP in /etc/hosts.
I've read in "Installing and Administering Internet Services" chapter 4. from HP.com that I should decide whether to install sendmail as client, server or stand alone... Which config. should I use and are the above configs. enough???
Appreciate any help.....
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2002 04:25 AM
09-17-2002 04:25 AM
Re: SAP -> sendmail -> Exchange
At this point, you are 'almost' done.
What you need to do now is to set the DS entry in your /etc/mail/sendmail.cf file to the name of the 'Smart relay host' that your Exchange Admin can give you for example:
DSrelayhost.company.com
After you make this entry stop and restart sendmail.
Test that the relay works by creating a test file and issuing a sendmail for example:
sendmail -v you@company.com < /tmp/mailtest
If you receive this message, then you know it works. Then comes the task of how SAP will issue a mail command to send mail.
Hope this helps.
Mike-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2002 05:25 AM
09-17-2002 05:25 AM
Re: SAP -> sendmail -> Exchange
Thanks Michael,
I did what u mentioned, but I got the following errors:
me@company.com... Name server timeout
me@company.com... Transient parse error -- message queued for future delivery
me@company.com... queued
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2002 06:03 AM
09-17-2002 06:03 AM
Re: SAP -> sendmail -> Exchange
A couple of things to check.
If you are not using DNS for name resolution 1. Check for /etc/resolv.conf and mv it to another file name.
2. Ensure your /etc/nsswitch.conf looks like:
hosts: files [NOTFOUND=continue]
That should get it. As for how to run sendmail. If there is no requirement for the server to receive mail, you do not have to run the Sendmail daemon. However, you'll want to add an entry like:
25 * * * * /usr/sbin/sendmail -q >/dev/null 2>&1 to the cron.
HTH
KJ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2002 11:11 PM
09-17-2002 11:11 PM
Re: SAP -> sendmail -> Exchange
Thanks Keith,
I think that the problem was in /etc/nsswitch.conf. I managed to send from unix to exchange but know I have the folloswing two situations:
1- sendmail does not send to the Internet.
2- users cannot reply to unix mail ??
Please help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2002 11:24 PM
09-17-2002 11:24 PM
Re: SAP -> sendmail -> Exchange
IF you are using smart host config in sendmail you will have to some POP3 client in hp-ux to collect the mails from the central server.
If you have any mail server connected to internet. Use that server as smart relay for sendmail. Allow relaying in that mail server for this sendmail server's ip address. Now you will be able to mail to internet.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2002 03:11 AM
09-18-2002 03:11 AM
Re: SAP -> sendmail -> Exchange
Hi, thanks guys....
Sorry, sendmail did send to the Internet without any modifications. Once the Exchange server got the message it forwarded it the the Internet. I'll post soon all the settings so this should benefit anybody who needs help in this area...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2002 03:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2002 02:28 AM
09-23-2002 02:28 AM
Re: SAP -> sendmail -> Exchange
Sorry for replying late.
Here is what I did to configure sendmail in Unix to send mail to an exchange server.
1) In the /etc/mail/sendmail.cf file: I added in the Dj macro our doman name
2) Also in the same file, I added in the DS macro the IP address of the relay server (since we are not using DNS on Unix)
3) In the /etc/hosts I added
IP_address host_name
4) Restarted sendmail:
/sbin/rc1.d/K460sendmail stop
/sbin/rc1.d/S540sendmail start
BUT THAT DID NOT WORK YET!
Next, I did what Keith Johnson mentioned in this thread. To create a file "/etc/nsswitch.conf" with the line:
hosts: files [NOTFOUND=continue]
and sendmail surprisingly worked. !!
I didn't understand this yet. But that's the end of story.
Thanks to all again........