Well, I started over and compiled 8.9.1 (I figured since I was having
so much trouble, I might as well bang my head against the latest
and greatest!!).
Had a very similar problem when it attempted to create the new aliases
database files.
I got the error:
hash map "Alias0": unsafe map file /var/adm/sendmail/aliases.db:
permission denied
this started me down the right path -- it turns out that, by default, the
/var/adm/sendmail
directory is owned by bin. Trying to run newaliases as root doesn't allow
me to create this
aliases.db file. I changed the ownership on /var/adm/sendmail to root and
all is well. (well,
it sends and receives mail without spitting out errors, anyway). We'll see
how the rest of the
configuration goes.
Oh, 8.8.8 and 8.9.1 are apparantly very picky about group writable
directories. They don't like
them. This is why I was getting the "WARNING: writable directory /var"
errors. Changing the
permissions fixed that up real quick.
Thanks to everyone for their input...
Tony Warner
At 03:52 PM 7/17/98 -0700, Tony Warner wrote:
>Some more info about this problem.
>(thanks to VSG for his response)
>
>the aliases.dir and aliases.pag files are in place
>and newaliases is installed but when I run it I get the following
>errors:
>
>WARNING: writable directory /var
>WARNING: writable directory /var
>WARNING: writable directory /var
>hash map "Alias0": unsafe map file /var/adm/sendmail/aliases: No such
>file of directory
>WARNING: writable directory /var
>WARNING: writable directory /var
>WARNING: writable directory /var
>WARNING: writable directory /var
>
>Running this command does, at least, update the mod times on the
>aliases.pag and aliases.dir files. So, it must be doing something.
>I don't know what that warning is about. I have normal permissions
>on /var : 755 owned by root.
>
>Original problem:
>>
>>I'm running DU 4.0D on an Alpha 433 workstation.
>>I'm attempting to upgrade the preinstalled sendmail to the
>>public domain sendmail version 8.8.8.
>>after compilation and installation, I can receive mail but when
>>I attempt to send out mail, I get the following error:
>>
>>hash map "Alias0": unsafe map file /var/adm/sendmail/aliases: No such
>>file of directory
>>hash map "Alias0": unsafe map file /var/adm/sendmail/aliases: No such
>>file of directory
>>(yes, it shows up twice)
>>
>>The default aliases file is there with permissions of 644 and owned by root.
>>
>>This same error also shows up during boot up.
>
*********************************************************************
Tony Warner Tony.Warner_at_gat.com
General Atomics (619) 455-4285
*********************************************************************
Received on Tue Jul 21 1998 - 01:54:32 NZST