- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: place aliases.db file in a different location?
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
Forums
Discussions
Discussions
Discussions
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
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
01-21-2008 12:08 PM
01-21-2008 12:08 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2008 02:22 PM
01-21-2008 02:22 PM
Re: place aliases.db file in a different location?
Just curious on why you want to do this ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2008 05:57 PM
01-21-2008 05:57 PM
Re: place aliases.db file in a different location?
And as Tim asked, why? Out of space in "/"?
For spam security you don't want this backed up?
Or you want to ignite multiple machines but don't want the same aliases?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2008 06:34 PM
01-21-2008 06:34 PM
SolutionIt is actually easy to do it.
I assume your question is related to
Sendmail Mail Transfer Agent (defalt on
HP-UX). If not, I can give you
answers for Postfix, Exim, Smail, Qmail...
Check the following option in
/etc/mail/sendmail.cf:
O AliasFile=/etc/mail/aliases
Change it to some other directory, make
sure you have ASCII file called aliases
there, and whatever database format you
use newaliases(1) will know what to with
it :)
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2008 07:05 PM
01-21-2008 07:05 PM
Re: place aliases.db file in a different location?
There is nothing wrong (if you wish
so) to have multiple aliases file.
I prove it to you, I just did
it ona SuperDome nPar running HP-UX 11.11.
O AliasFile=/etc/mail/aliases
O AliasFile=/var/ZZZ/aliases
Then, I ran:
# newaliases
/etc/mail/aliases: 7 aliases, longest 9 bytes, 88 bytes total
/var/ZZZ/aliases: 1 aliases, longest 11 bytes, 14 bytes total
One warning: make sure that directory and
file permissions for additional aliases
do not cause "unsafe" errors!
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2008 07:14 AM
01-23-2008 07:14 AM