HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Send mail
Operating System - Linux
1828040
Members
1982
Online
109973
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
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
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
01-07-2005 12:08 AM
01-07-2005 12:08 AM
Send mail
I am new to unix environment. Can anybody help me in configuring send mail ? Also how can I configure critical events happening on server should mail to me automatically?
This site is really very helping to me and I am thankful to all the members.....
This site is really very helping to me and I am thankful to all the members.....
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2005 12:51 AM
01-07-2005 12:51 AM
Re: Send mail
You didn't tell what kind of unix/Linux you are configuring, so I can't give you any specific details.
Most unixes and Linux distributions usually have some general configuration tools. On HP-UX, there is "sam", RedHat Linux has redhat-config-* -tools for many things (I think), Debian GNU/Linux asks the necessary information during the installation of sendmail... see the documentation of your unix/Linux for details.
If you need to set up a mail server, I think you would be better off reading O'Reilly's Sendmail book instead of asking here, so I'm going to assume you just want to send mail out of your server. Look for the word "smarthost" in your unix/Linux documentation: "smarthost" means a "central" server where all outgoing mail is sent for further processing.
Automatic emails on critical events:
Most unix-like systems send some OS-related information by email to the system's root account by default. (If your server is named yourhost.example, the default messages would go to root@yourhost.example). To get the messages to your regular mail account, you must create a "mail alias" so that mail to root@yourhost.example is delivered to your.address@some.where.example.
Usually this is done by adding to file /etc/mail/aliases a line like this:
root: your.address@some.where.example
After this, you might have to run "newaliases" command to make the new alias take effect.
To get information about hardware-related critical events, you must usually install the hardware vendor's monitoring software and configure it as you want. Again, this depends greatly on what hardware you have.
Most unixes and Linux distributions usually have some general configuration tools. On HP-UX, there is "sam", RedHat Linux has redhat-config-* -tools for many things (I think), Debian GNU/Linux asks the necessary information during the installation of sendmail... see the documentation of your unix/Linux for details.
If you need to set up a mail server, I think you would be better off reading O'Reilly's Sendmail book instead of asking here, so I'm going to assume you just want to send mail out of your server. Look for the word "smarthost" in your unix/Linux documentation: "smarthost" means a "central" server where all outgoing mail is sent for further processing.
Automatic emails on critical events:
Most unix-like systems send some OS-related information by email to the system's root account by default. (If your server is named yourhost.example, the default messages would go to root@yourhost.example). To get the messages to your regular mail account, you must create a "mail alias" so that mail to root@yourhost.example is delivered to your.address@some.where.example.
Usually this is done by adding to file /etc/mail/aliases a line like this:
root: your.address@some.where.example
After this, you might have to run "newaliases" command to make the new alias take effect.
To get information about hardware-related critical events, you must usually install the hardware vendor's monitoring software and configure it as you want. Again, this depends greatly on what hardware you have.
MK
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP