- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Forward e-mail to MS-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
11-22-2000 07:20 AM
11-22-2000 07:20 AM
If it is, what must I do?
Many thanks for your help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2000 07:31 AM
11-22-2000 07:31 AM
Re: Forward e-mail to MS-Exchange
sendmail -v abc@hostname.com
test
.
The Exchange server will need to have it's Internet Mail Service configured and the service running to receive the messages.
You set up sendmail to act as a mail relay to send your messages to the Exchange server. You need to change the /etc/mail/sendmail.cf file for this. There is a line starting DS, to which you must append the hostname of the Exchange server eg:
DShostname
Then stop and start sendmail as follows:
To stop: killsm
To start go to /sbin/init.d and type:
./sendmail start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2000 07:36 AM
11-22-2000 07:36 AM
Re: Forward e-mail to MS-Exchange
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2000 07:38 AM
11-22-2000 07:38 AM
Re: Forward e-mail to MS-Exchange
In /user/user_name, create a file called .forward. In this file add a line which is the Exchange address you need to forward to eg abc@hostname.com. The address can be seen in the Exchange administrator under Recipients, Email addresses tab. DNS or a hostfile will be required for it to find it's way there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2000 07:39 AM
11-22-2000 07:39 AM
Re: Forward e-mail to MS-Exchange
Yes it is possible to forward mails from an HPUX server to an NT exchange server. As a matter of fact there have been a number of threads in this regard. You could use the search facility of the forums to find them... but to get you started :
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x535e7e990647d4118fee0090279cd0f9,00.html
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xfe4e49c5ae73d4118fef0090279cd0f9!0,00.html
0. Include an entry in your /etc/hosts file for your exchange server:
#echo "XXX.YYY.ZZZ.AAA exch exch.yourdomain.com" >> /etc/hosts
1. Include an entry in your /etc/nsswitch.conf file :
#echo "hosts: files [NOTFOUND=continue] dns" >> /etc/nsswitch.conf
(this tells the system that if it does not find a host in the files, it should use dns)
2. on the HPUX box, edit the /etc/mail/sendmail.cf file and look for the line that with DS and change it to:
DSexch.yourdomain.com
(where exch.yourdomain.com is the name of your exchange server)
after the changes, now you have to restart sendmail with :
#/sbin/init.d/sendmail stop ; /sbin/init.d/sendmail start
now try and send a message....
#mailx -s "Test message" user@exch.domain.com < /etc/hosts
examine your /var/adm/syslog/mail.log file for a message indicating that your message has been relayed to the exchange server....
done!
PS. Let's know how it turns out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2000 08:10 AM
11-22-2000 08:10 AM
Re: Forward e-mail to MS-Exchange
Thanks for your. After applying your suggestions I've got the message:
abc@xyz.com... Deferred: Name server: xyz: host name lookup failure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2000 08:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2000 08:26 AM
11-22-2000 08:26 AM
Re: Forward e-mail to MS-Exchange
your suggestion was the final step to help me.
Thank you all for your help.
By
Wessel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2000 11:26 AM
11-22-2000 11:26 AM
Re: Forward e-mail to MS-Exchange
#echo "domain yourdomain.com" >> /etc/resolv.conf
#echo "nameserver aaa.bbb.ccc.ddd # first nameserver" >> /etc/resolv.conf
#echo "nameserver eee.fff.ggg.hhh # second nameserver" >> /etc/resolv.conf
#echo "nameserver iii.jjj.kkk.lll # third nameserver" >> /etc/resolv.conf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2000 10:05 PM
11-22-2000 10:05 PM
Re: Forward e-mail to MS-Exchange
e.g.
$ mailx -s "test mail" -r known.user@your.exchange.server otheruser@recipients.mailhost