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.
VSG's response:
>
>At 03:25 PM 7/17/98 -0700, you wrote:
>>>
>>> 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)
>>
>>It expects _hash map_ file, not the regular text file. There should be
>>aliases.dir and aliases.pag files created by either "newaliases" or
>>makemap (if I am not mistaken).
>>
>>Make sure "newaliases" is installed (it's a symlink to the sendmail
>>binary) and run before sendmail every boot and every time you change
aliases.
>>
>>
>>VSG
>>
>>
*********************************************************************
Tony Warner Tony.Warner_at_gat.com
General Atomics (619) 455-4285
*********************************************************************
Received on Sat Jul 18 1998 - 00:53:00 NZST