- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HPUX 11iv2 syslog and sendmail configuration ...
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
тАО11-30-2010 09:58 AM
тАО11-30-2010 09:58 AM
Server A is my central host. This means that system alerts/errors from other hosts are routed to it.Server B is one of those 'other' hosts.
Heres my example,
I receive (to my ms exchange mailbox) with the FROM field as user X and the receipient is of course me with the subject of ALERT.
(ie. it may be that a filesystem is full).
My co-worker (user X) is no longer here and set it up to where if ROOT gets mail (alert) its forwarded to our Exchange mailboxes but the FROM has user X (not root).
I want to keep the same implementation but replace user X and put my email address.
Attached are the 3 files from each host.
As stated....
Host A handles alerts/errors from all other hosts (see syslog.conf)
It aliases file has no customized entreis.
HOST B is one of the other hosts. (its syslog.conf will have an entries for central server, A)
I understand how to edit and recreate the .db files but trying to understand the mail handling and flow here.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2010 10:15 AM
тАО11-30-2010 10:15 AM
SolutionYou already have a userdb file under /etc/mail.
Edit the file and replace the 'x' user name with your own - in EXACTLY the same order you see.
Now save the file and run the following:
makemap btree /etc/mail/userdb.db < /etc/mail/userdb
Stop and restart mail
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
[ It's all under the UNIX notes in file called 'mail' ]
Regards,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2010 10:17 AM
тАО11-30-2010 10:17 AM
Re: HPUX 11iv2 syslog and sendmail configuration files
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2010 10:26 AM
тАО11-30-2010 10:26 AM
Re: HPUX 11iv2 syslog and sendmail configuration files
Other areas that had user X have been modified. I was looking last week and left out the 'alerts' of all things!!
AND I will call user X soon!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2010 10:30 AM
тАО11-30-2010 10:30 AM
Re: HPUX 11iv2 syslog and sendmail configuration files
The userdb file was done simply to flip the FROM address from root to the user's name and email address.
The reason for the flip could be because the mail server might reject things from 'root' viewing it as potentially spam. Or it could be to send it on to the user's email address.
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2010 11:32 AM
тАО12-16-2010 11:32 AM
Re: HPUX 11iv2 syslog and sendmail configuration files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2010 11:32 AM
тАО12-16-2010 11:32 AM