- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Receiving mailx error for /etc/mail/aliases
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
тАО09-18-2006 08:47 AM
тАО09-18-2006 08:47 AM
Receiving mailx error for /etc/mail/aliases
I'm receiving the following error when I send a message via mailx:
dbm map "Alias0": unsafe map file /etc/mail/aliases: No such file or directory
I've got three other machines where the aliases file looks exactly the same and the mailx function works fine. Has anyone experienced this before?
Many thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2006 08:51 AM
тАО09-18-2006 08:51 AM
Re: Receiving mailx error for /etc/mail/aliases
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2006 08:56 AM
тАО09-18-2006 08:56 AM
Re: Receiving mailx error for /etc/mail/aliases
Should be owned by root and permissions of 640.
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2006 08:59 AM
тАО09-18-2006 08:59 AM
Re: Receiving mailx error for /etc/mail/aliases
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2006 09:18 AM
тАО09-18-2006 09:18 AM
Re: Receiving mailx error for /etc/mail/aliases
We thought it was a permissions issue, but when we set the permissions to 640 the error message still appeared.
I just attempted a copy of the aliases file from another server and running 'newaliases' resulted in the same error message.
Could I be looking at a corrupted aliases database file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2006 09:49 AM
тАО09-18-2006 09:49 AM
Re: Receiving mailx error for /etc/mail/aliases
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2006 10:31 AM
тАО09-18-2006 10:31 AM
Re: Receiving mailx error for /etc/mail/aliases
and /etc/mail is set with the same ownership and permissions on a server that works. The server in question has /etc set to bin:bin but the permissions are 557 (not sure why) and /etc/mail is set to bin:bin with 555 perms.
Would 557 on etc be the cause?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2006 11:58 AM
тАО09-18-2006 11:58 AM
Re: Receiving mailx error for /etc/mail/aliases
There is a default security check parameter set in sendmail. Hence if directories ( /, /etc, /etc/mail) above the file " /etc/mail/aliases" in this case are group or world writable, then sendmail will flash the similar error message.
So change the /etc permissions to 555.
Similary ensure the permissions for
/etc/mail/aliases bin:bin 640
/etc/mail/aliases.db root:sys 640
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2006 03:14 PM
тАО09-18-2006 03:14 PM
Re: Receiving mailx error for /etc/mail/aliases
Bill Hassell, sysadmin