Re: sendmail alias error

From: Stephen Spalding (ssaixadm@YAHOO.COM)
Date: Mon Jul 01 2002 - 20:32:56 EDT


Yep, that was it. For some reason the /etc filesystem
had permissions of 777 instead of 755. Thanks for the
help!

-Stephen Spalding
--- justin.bleistein@SUNGARD.COM wrote:
> HERE IS A PROCEDURE BELOW I TYPED UP:
>
> As you know after you edit the "/etc/aliases" file
> in AIX, you must enter
> the command:
>
> # sendmail -bi <ENTER>
>
> to make the changes take affect. Sometimes you run
> into the following
> error:
>
> dbm map "Alias0": unsafe map file /etc/aliases
> WARNING: cannot open alias database /etc/aliases
> Cannot create database for alias file /etc/aliases:
> A system call received
> a par
> ameter that is not valid.
>
> Or something along those lines. First thing to do
> when debugging this error
> is to check the permissions on the following files
> make sure they have the
> following access permission, owner, and group
> parameters set:
>
>
> If those permissions are not set,
>
> drwxr-xr-x 19 root system 3072 Jun 18
> 19:15 /etc
> -rw-r--r-- 1 root system 1446 Jun 18
> 18:59 /etc/aliases
> -rw-r--r-- 1 root system 0 Jun 18
> 19:13 /etc/aliases.dir
> -rw-r--r-- 1 root system 1024 Jun 18
> 19:13 /etc/aliases.pag
>
> If these permissions are not set, please set them
> for each of these
> files/directories listed above. Then run the command
> again:
>
> # sendmail -bi <ENTER>
>
> If you still receive that error then remove the
> sendmail database files by
> enter the following:
>
> # rm /etc/aliases.dir <ENTER>
> # rm /etc/aliases.pag <ENTER>
>
> Now recreate them:
>
> # newaliases <ENTER>
>
> Now it should work!!
>
> --Justin Richard Bleistein
>
>
>
>
> Stephen Spalding
> <ssaixadm@YAHOO.C To:
> aix-l@Princeton.EDU
> OM> cc:
> Sent by: IBM AIX
> Subject: sendmail alias error
> Discussion List
> <aix-l@Princeton.
> EDU>
>
>
> 07/01/2002 03:49
> PM
> Please respond to
> IBM AIX
> Discussion List
>
>
>
>
>
>
> Hi all,
>
> On some of my AIX 4.3.3 boxes, I get the following
> message when I try to send an email:
>
> dbm map "Alias0": unsafe map file /etc/aliases
>
> What causes this, and what can I do to fix it?
>
> Thanks!
>
> -Stephen Spalding
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:02 EDT