HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Sendmail setup in delivery of various system p...
Operating System - HP-UX
1833788
Members
2507
Online
110063
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-19-2003 03:44 PM
01-19-2003 03:44 PM
Sendmail setup in delivery of various system problems and alerts
Hi folks,
I have sendmail daemon running on my unix boxes. Currently, all the problems are sending to root account. If I want to send different local system problems and alerts to individual internet email accounts, apart from adding an entry to /etc/mail/aliases and pointing to those internet email addresses, is there any better way to distribute unix online problem to internet email accounts?
thanks in advance.
I have sendmail daemon running on my unix boxes. Currently, all the problems are sending to root account. If I want to send different local system problems and alerts to individual internet email accounts, apart from adding an entry to /etc/mail/aliases and pointing to those internet email addresses, is there any better way to distribute unix online problem to internet email accounts?
thanks in advance.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2003 04:13 PM
01-19-2003 04:13 PM
Re: Sendmail setup in delivery of various system problems and alerts
Hi,
It depends on which facility is sending the alerts. For ex., all the mails addressed to "mailer-daemon" will go to root. If you want an internet account to receive those mail, then you would change the alias of mailer-daemon to your internet mail address.
If your alerts are user-defined and are customizable, then you can send them to your internet email address. Some are not configurable like cronjobs run by root that fail, will go to root's account. Here you cannot define "only cronjob failures should go to this internet account". The work around is to use mailfilters that can forward the mails based on the "subject" field.
Most of the messages that come to root's account are EMS alerts. EMS is easily configurable to send messages directly to individual mail addresses. Look at 'monconfig' man page. You can configure alerts corresponding to different subsystems to different users.
A simple workaround to achieve what you want is to let everything go to root's account.
Now you can configure a mail filter such as procmail to forward mails of different types to different mail addresses.
http://hpux.cs.utah.edu/hppd/hpux/Networking/Mail/procmail-3.22/
Or, Configure POP or IMAP daemon on the server to receive mails by a sophisticated mail client (like outlook) that can allow you to define rules. Once you start receiving mails on the mail client, you can setup rules and forward messages of different types to different individuals.
-Sri
It depends on which facility is sending the alerts. For ex., all the mails addressed to "mailer-daemon" will go to root. If you want an internet account to receive those mail, then you would change the alias of mailer-daemon to your internet mail address.
If your alerts are user-defined and are customizable, then you can send them to your internet email address. Some are not configurable like cronjobs run by root that fail, will go to root's account. Here you cannot define "only cronjob failures should go to this internet account". The work around is to use mailfilters that can forward the mails based on the "subject" field.
Most of the messages that come to root's account are EMS alerts. EMS is easily configurable to send messages directly to individual mail addresses. Look at 'monconfig' man page. You can configure alerts corresponding to different subsystems to different users.
A simple workaround to achieve what you want is to let everything go to root's account.
Now you can configure a mail filter such as procmail to forward mails of different types to different mail addresses.
http://hpux.cs.utah.edu/hppd/hpux/Networking/Mail/procmail-3.22/
Or, Configure POP or IMAP daemon on the server to receive mails by a sophisticated mail client (like outlook) that can allow you to define rules. Once you start receiving mails on the mail client, you can setup rules and forward messages of different types to different individuals.
-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
01-19-2003 08:25 PM
01-19-2003 08:25 PM
Re: Sendmail setup in delivery of various system problems and alerts
If you prefer popmail, go for qpopper.
http://hpux.cs.utah.edu/hppd/hpux/Networking/Mail/qpopper-4.0.4/
I am told its pretty easy to install.
P
http://hpux.cs.utah.edu/hppd/hpux/Networking/Mail/qpopper-4.0.4/
I am told its pretty easy to install.
P
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP