- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Configuring Sendmail on HP-UX 11.11 for using...
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
Discussions
Discussions
Forums
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
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
тАО10-21-2002 12:26 AM
тАО10-21-2002 12:26 AM
i just want to make sendmail using MS-Exchange Server for outgoing mails to LAN and WAN.
I don't want to receive incomming mails from Exchange. I have an other HP-UX Node working that way, but it's 11.00 and its sendmail.cf seems to be copied from an older version (10.20 ?). It doesen't work on the 11.11 node.
What changes do i have to do on 11.11 node, if I use a new copy of /usr/newconfig/etc/mail/sendmail.cf file ? Are there further changes necessary ?
Thanks in advance
Lothar
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2002 04:06 AM
тАО10-21-2002 04:06 AM
Solutionif you don't want to receive email to this host, don't start sendmail process. I fit is already done : /sbin/init.d/sendmail stop
Copy /usr/newconfig/etc/mail/sendmail.cf to /etc/mail/sendmail.cf
- configure macro DS to DSexchange_relau_name
- configure macro Dj$w. to Dj$w.domain_name.
- put to /etc/hosts server_IP hostname hostname.domain_name. (don't forget the dot at the end)
- start end stop sendmail to take modifications in sendmail.cf active.
- configure exchage to accept relay this host.
Hope this helps.
Fabrice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2002 09:02 AM
тАО10-21-2002 09:02 AM
Re: Configuring Sendmail on HP-UX 11.11 for using Exchange Server
If your DNS has MX record defined for your Exchange server, just copy the sendmail.cf file from /usr/newconfig/etc/mail to /etc/mail and restart the sendmail daemon.
In order to check if MX record is defined or not, do the following -
nslookup
>server (IP address of your DNS server)
>set type=mx
>(your domain name)
If no MX record is defined, set DS parameter to your Exchange-Server in sendmail.cf and restart your sendmail on this server.
HTH
...Manjeet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2002 02:23 PM
тАО10-21-2002 02:23 PM
Re: Configuring Sendmail on HP-UX 11.11 for using Exchange Server
Modify sendmail.cf file from /etc/mail
vi /etc/mail/sendmail.cf
look for DS flag by /^DS
and write your exchnage server name infront of it
DSyour exchanger server
Save and quit sendmail.cf
/sbin/init.d/sendmail stop ; /sbin/init.d/sendmail start
look for /var/adm/syslog/mail.log for more info
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2002 12:02 AM
тАО10-22-2002 12:02 AM
Re: Configuring Sendmail on HP-UX 11.11 for using Exchange Server
thanks for your helpful assistence. It didn't work at once, but i got an mail with the following message:
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old
451 [the email-adress]... [the domain]: Name server timeout
So i used SAM for looking up "Name Service Switch" for hosts (in Networking and Communications). On the working 11.0 node i found /etc/hosts as first source, in the 11.11 node there was DNS as first, NIS as second and /etc/hosts as third source configured. I changed to /etc/hosts as first and none as second source. I didn`t reboot the machine but restarted sendmail and after a while the mailq was empty and i got the mails via Outlook.
I'll try if its necassary to run sendmail-daemon for sending only.