- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Email configuration on HP-ux
Operating System - HP-UX
1823255
Members
3117
Online
109648
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
Forums
Discussions
юдл
back
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО12-04-2002 02:57 PM
тАО12-04-2002 02:57 PM
Email configuration on HP-ux
Which files I need to modify and with what or which parameters on HP-ux v11, to send email to other user on bound of exchange server?
i.e. root notifyme via send email with any alert happened on system.
"From Delta Server: Disk near to Full"
i.e. root notifyme via send email with any alert happened on system.
"From Delta Server: Disk near to Full"
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2002 03:07 PM
тАО12-04-2002 03:07 PM
Re: Email configuration on HP-ux
Hi,
First, make sure that sendmail is running on your server (ps -ef|grep sendmail). If not, edit /etc/rc.config.d/mailsvrs and make "export SENDMAIL_SERVER=1". Then edit /etc/mail/sendmail.cf, search for "^DS" and apend the name of your exchange server. Your system must be able to resolve the name of the exchange server. If it is not in your DNS, edit /etc/hosts file add an entry for your exchange server's IP and it's name.
Start sendmail using /sbin/init.d/sendmail start. Make sure it works. You may have to configure your exchange server to receive and relay the mails from the unix system too.
If you have a centralized DNS server, you can take help from the DNS admin to configure MX records for your SMTP server so that you do not have to configure the sendmail on the local system.
Try sending mails like your_id@yourdomain.com and see if you receive the mails.
-Sri
First, make sure that sendmail is running on your server (ps -ef|grep sendmail). If not, edit /etc/rc.config.d/mailsvrs and make "export SENDMAIL_SERVER=1". Then edit /etc/mail/sendmail.cf, search for "^DS" and apend the name of your exchange server. Your system must be able to resolve the name of the exchange server. If it is not in your DNS, edit /etc/hosts file add an entry for your exchange server's IP and it's name.
Start sendmail using /sbin/init.d/sendmail start. Make sure it works. You may have to configure your exchange server to receive and relay the mails from the unix system too.
If you have a centralized DNS server, you can take help from the DNS admin to configure MX records for your SMTP server so that you do not have to configure the sendmail on the local system.
Try sending mails like your_id@yourdomain.com and see if you receive the mails.
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2002 03:14 PM
тАО12-04-2002 03:14 PM
Re: Email configuration on HP-ux
Hi,
In the directory /etc/mail you'll need to modify sendmail.cf (it explains what you need to do in the comments). You'll also need to update the aliases file, and, the sendmail.cw file.
You might also consider changing the default port that it listens on (for security reasons), and you'll need to update the configuration on your exchange server (Internet Mail Service).
Hope this helps.
Regards,
Jo
In the directory /etc/mail you'll need to modify sendmail.cf (it explains what you need to do in the comments). You'll also need to update the aliases file, and, the sendmail.cw file.
You might also consider changing the default port that it listens on (for security reasons), and you'll need to update the configuration on your exchange server (Internet Mail Service).
Hope this helps.
Regards,
Jo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2002 07:16 AM
тАО12-06-2002 07:16 AM
Re: Email configuration on HP-ux
There's a gotcha on this if the ip address of the mail server is different from the MX record in DNS.
The DS line of:
DSmail.mycompany.com
in /etc/sendmail.cf might fail if DNS does not resolve it properly.
If you run "nslookup -querytype=MX", and lookup mycompany.com, you will see the ip address of mail.mycompany.com. Perhaps the ip address listed isn't right from where this box is located,...but it valid everywhere else?
When would this happen? When the box is behind a firewall that remaps the ip address.
How do you get around it?
Update /etc/hosts to add an entry for mail.mycompany.com.
Update /etc/nsswitch.conf to look at files before dns.
Change the DS line to be:
DS[mail.mycompany.com]
The square brackets will tell sendmail to NOT use the MX record of mycompany.com, and instead use the ip address of mail.mycompany.com (that is in your hosts file).
The DS line of:
DSmail.mycompany.com
in /etc/sendmail.cf might fail if DNS does not resolve it properly.
If you run "nslookup -querytype=MX", and lookup mycompany.com, you will see the ip address of mail.mycompany.com. Perhaps the ip address listed isn't right from where this box is located,...but it valid everywhere else?
When would this happen? When the box is behind a firewall that remaps the ip address.
How do you get around it?
Update /etc/hosts to add an entry for mail.mycompany.com.
Update /etc/nsswitch.conf to look at files before dns.
Change the DS line to be:
DS[mail.mycompany.com]
The square brackets will tell sendmail to NOT use the MX record of mycompany.com, and instead use the ip address of mail.mycompany.com (that is in your hosts file).
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP