- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /etc/aliases file
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
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
тАО09-18-2006 03:31 AM
тАО09-18-2006 03:31 AM
/etc/aliases file
I want to setup the aliases file so that when any message comes in for "root"...a copy of the message goes to the root mailbox and a copy is forwarded to my smtp account. Can someone show me how to do it?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2006 03:40 AM
тАО09-18-2006 03:40 AM
Re: /etc/aliases file
http://docs.hp.com/en/A2615-90003/ch07s07.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2006 03:52 AM
тАО09-18-2006 03:52 AM
Re: /etc/aliases file
root : mysmtpaddress@myhost.com
save and exit
execute command :
newaliases
which will build the aliases database from the ascii entries you made above.
After this, make sure your server can send mail to the outside world. To confirm this, make sure you have a line like this in /etc/mail/sendmail.cf file
DSmailrelayserver
and this mailrelayserver is able to accept and relay mail messages from your hpux host.
Hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2006 06:41 AM
тАО09-18-2006 06:41 AM
Re: /etc/aliases file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2006 06:52 AM
тАО09-18-2006 06:52 AM
Re: /etc/aliases file
Local Aliases
root: sysadm, root
sysadm: name@smtp.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2006 06:53 AM
тАО09-18-2006 06:53 AM
Re: /etc/aliases file
I you follow Mel's guide you shouldn't forget the following:
The program "/usr/sbin/newaliases" must be run after this file is updated, or else any changes will not be visible to sendmail.
Have you done that?
Regards, MB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2006 07:00 AM
тАО09-18-2006 07:00 AM
Re: /etc/aliases file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2007 07:00 AM
тАО01-08-2007 07:00 AM
Re: /etc/aliases file
info: \info,johndoe
This sends a copy to the info mailbox and to the user johndoe.
This is on a Linux server but should work for any sendmail application.