Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dbm map "Alias0": unsafe map file /etc/aliases

Status
Not open for further replies.

Matsul

IS-IT--Management
May 6, 2002
140
BE
When sending a mail on an RS/6000 4.3.3.0 I am getting the error in the subject .

> cat testfile | mail -s "test" ms
>
>dbm map "Alias0": unsafe map file /etc/aliases


Using the mail command without an alias is successful.

Any ideas ?


 

What are the filepermissions on /etc/aliases??

Cheers Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
Here goes

root@malta3:/user2/root/mybin% ls -lrt /etc/aliases
-rw-r--r-- 1 root system 1626 Mar 04 12:33 /etc/aliases


thanks.
 

I would think it's just a warning. Are you saying it doesn't work using aliases??

Try setting the permissions to 444.

Cheers Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
Yes , it doesn't work.

I changed the permissions but the error still occured.

thanks
 

Is there a file aliases.db??

Cheers Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
No , under etc there is

% ls -lrt al*
-rw-r--r-- 1 root system 1650 Nov 14 12:42 aliases~
-rw-r--r-- 1 root system 1024 Nov 14 12:43 aliases.pag
-rw-r--r-- 1 root system 0 Nov 14 12:43 aliases.dir
-r--r--r-- 1 root system 1626 Mar 04 12:33 aliases


thanks
 
hi ,

are you using aliases?

check the file for new entries or any changes.

try running newaliases command , does it report any errors
if so check entries of file /etc/aliases

check the permissions of the /etc directory . what are they?
hth
 
Problem is solved

I reduced the rights on etc and it worked .


thanks for your hints
 
Matsul

I have the same problem, what have you set the permissions to your /etc directory to?

Alan
 
Try

chmod go-w / /etc

Before the directories were -rwxrwxrwx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top