> Cannot Open
> Cannot Open Hash Database /etc/mail/aliases.db Permission Denied
Cannot Open Hash Database /etc/mail/aliases.db Permission Denied
Copy sent to Jeff Sheinberg , Richard A Nelson (Rick) , [email protected] Acknowledgement sent to Jeff Sheinberg : New Bug report received and forwarded. The Code: dbm map "Alias0": unsafe map file /etc/mail/aliases: message looks obvious in it states that the file does not exist. Full text and rfc822 format available. weblink
In my environment that is acceptable because the sendmail.cf file was built on a different server and then copied to this server. So my resolv.conf file looks somthing like; Code: nameserver 0.0.0.0 nameserver 0.0.0.0 domain mtn.dew.com Change the domain value to the domain of the machine you are on and replace the 0's If you tried to run one of > these such executables in an environment that required the sgid, > but before the actual sgid change was completed, then it might > Where are you seeing this error.....maillog? recommended you read
please! When I attempt to use the "newaliases" command, I get the following error: /etc/mail# newaliases hash map "Alias0": unsafe map file /etc/mail/aliases.db: Permission denied dbm map "Alias0": unsafe map file /etc/mail/aliases: Any ideas? The permissions for the /etc/mail directory appear to be OK as they are for the aliases.db file: /etc/mail# ls -al total 254 drw-r--r-- 3 root mail 1024 Jan 16 10:29 .
Notification sent to Jeff Sheinberg : Bug acknowledged by developer. However, following the documentation and FAQs at sendmail.org, I ran:chmod go-w / /etc /etc/mail /usr /var /var/spool /var/spool/mqueuechown root chmod go-w / /etc /etc/mail /usr /var /var/spool /var/spool/mqueueand the alias file From: Paul Howarth To: For users of Fedora Core releases Subject: Re: FC5: Sendmail error: hash map "Alias0": unsafe map file... Or do I get negative numbers for posting my own answer? 0 Kudos Reply Ralf Hildebrandt Valued Contributor [Founder] Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print
Getting dbm map "Alias0": unsafe map file /etc/mail/alias Hello, On my AIX 7.1 server we see a few sendmail related issues in the log. Xenforo skin by Xenfocus Contact Us Help Imprint Home Top RSS Terms and Rules Forum software by XenForo™ ©2010-2014 XenForo Ltd. drwxr-xr-x 38 root system 8192 Aug 05 11:47 etc drw-r--r-- 2 root system 256 Jun 12 22:37 mail -rw-r--r-- 1 root system 1345 Apr 05 2013 aliases -rw-r--r-- 1 root system Everything worked fine, but suddenly in my > Logwatch this morning, on all my machines, I note this: > > hash map "Alias0": unsafe map file /etc/aliases.db: Permission denied > WARNING:
I was able to duplicate the Warning message as related to the hostname. Newer Than: Search this thread only Search this forum only Display results as threads Useful Searches Recent Posts More... As for the local host name WARNING I am not sure. The alias file itself must have similar permissions.
The Code: Warning: .cf file is out of date: message in my environment is related to the sendmail.cf not matching up to my .mc file. over here The Code: hash map "Alias0": unsafe map file /etc/mail/aliases.db: message would lead me to believe that you just need to change the permissions to 644 so the others field does not However, I do get a slightly different message:# newaliasesdbm map "Alias0": unsafe map file /etc/mail/aliases: Permission deniedWARNING: cannot open alias database /etc/mail/aliasesCannot create database for alias file /etc/mail/aliases 0 Kudos Reply Message #5 received at [email protected] (full text, mbox, reply): From: Jeff Sheinberg To: [email protected] Subject: sendmail: errors rebuilding aliases file on upgrade Date: Mon, 25 Mar 2002 19:58:18 -0500 Package:
Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson. have a peek at these guys Join our community today! Anyway, this is what sendmail.org has about my error in relation to the new version:_______________________________________________unsafe map file /etc/mail/aliases:With the latest sendmail release many people get an error message like: unsafe map Copy sent to Richard A Nelson (Rick) , [email protected]
- I resolved my problem by putting a domain line in my /etc/resolv.conf file.
- All Rights Reserved.
- If you tried to run one of these such executables in an environment that required the sgid, but before the actual sgid change was completed, then it might have caused the
Haven't tried it on the gq but it probably won't install either. exxoid View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by exxoid 08-23-2014, 07:47 AM #4 NevemTeve Senior Member Registered: Oct 2011 Location: Sorry I am just not going to get off track any more than I have already. http://haywirerobotics.com/cannot-open/cannot-open-hash-database-etc-aliases-db-invalid-argument.html The time now is 02:23 PM.
Home Questions Office Help Forum New Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links Today's Posts Ask a Question Excel Microsoft Word PowerPoint Advanced Search Forum Business Email SendMail If you'd like to contribute content, let us know. No further changes may be made.
I was not able to duplicate the problem by breaking what he fixed on my system but maybe it will help you.
Acknowledgement sent to Jeff Sheinberg : Extra info received and forwarded to list. this is interesting...Dec 19 16:15:02 db00 sendmail: NOQUEUE: SYSERR(lighttpd): /etc/mail/sendmail.cf: line 0: cannot open: Permission deniedDec 19 16:15:02 db00 sendmail: NOQUEUE: SYSERR(lighttpd): /etc/mail/sendmail.cf: line 0: cannot open: Permission deniedDec 19 16:15:02 The /usr/sbin/sendmail permissions are the same, /etc/mail/sendmail.cf has 644, and on the second server, it works just fine. The Code: Warning: .cf file is out of date: message in my environment is related to the sendmail.cf not matching up to my .mc file.
Google it or hopefully someone on the list will know. Having a problem logging in? Something about security or something. http://haywirerobotics.com/cannot-open/cannot-open-hash-database-etc-mail-access-db.html By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features.
The Code: hash map "Alias0": unsafe map file /etc/mail/aliases.db: message would lead me to believe that you just need to change the permissions to 644 so the others field does not See the doentation (README, doc/op/op.*) for the right setup. I appreciate all of the great answers, it's just the new version of sendmail has some new rules to abide by. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community.
Acknowledgement sent to Richard A Nelson : Extra info received and forwarded to list. This message posted from opensolaris.org Thread at a glance: Previous Message by Date: Sendmail trouble I am having a problem with sendmail. drwxr-xr-x 38 root sys 4608 Jan 16 11:25 .. -rw-r--r-- 1 root bin 1168 Jan 16 10:31 aliases -rw-r--r-- 1 root smmsp 40960 Nov 16 2004 aliases.db -rw-r--r-- 1 root bin falko, Jul 22, 2007 #2 (You must log in or sign up to reply here.) Show Ignored Content Share This Page Tweet Log in with Facebook Log in with Twitter Log
Log in or Sign up Howtoforge - Linux Howtos and Tutorials Home Forums > Linux Forums > Server Operation > Sendmail newaliases: cannot create database Discussion in 'Server Operation' started by Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest Regan. Haven't tried it on the gq but it probably won't install either.