Make sure /etc/aliases does not have the execute bit set. The file should
be -rw-r--r--
chmod -x /etc/aliases
rm /etc/aliases.db
newaliases
Dan Liston
huanglp wrote:
>
> Thanks.
>
> I execute newaliases, but the result is:
> hash map "Alias0 : unsafe map file /etc/aliases.db: Executable files not
> allowed
> WARNING: cannot open alias database /etc/aliases
> Cannot create database for alias file /etc/aliases
>
> Now how can i repaire the sendmail? Thanks in advance!
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~
> ???
> ???????
> ??:(8624)23783000-62012
> ??:(8624)23782266
> ??:huanglp@neu-alpine.com
>
> ----- Original Message -----
> From: "Dan Liston" <dliston@netscape.com>
> To: "huanglp" <huanglp@neu-alpine.com>
> Cc: <majordomo-users@GreatCircle.COM>
> Sent: Tuesday, February 20, 2001 1:40 PM
> Subject: Re: Hi,everyone
>
> > You are trying to execute a non-executable file. /etc/aliases is a text
> file
> > that holds the mappings of aliases to mailboxes. The command I think you
> are
> > intending to run is `newaliases`.
> >
> > Dan Liston
> >
> > huanglp wrote:
> > >
> > > Hi, i have a question and ask everyone helps me.
> > >
> > > This morining I setup a new list. When I execute "./etc/aliases", it
> cannot
> > > execute. I want to know why? I use "root" to execute it. The result is
> > > "Permission denied".
> > >
> > > Thanks in advance!
--
-- Dan Liston --------------------- dliston@netscape.com --
-- Netscape Consultant ------------------ (214) 906-1675 --
-- iPlanet E-Commerce Solutions, A Sun Netscape Alliance --
Follow-Ups:
References:
|
|