Problems getting sendmail 8.9.1 to run
Posted on 1998-12-23
I tried to upgrade our sendmail-daemon from 8.6.7 to 8.9.1! The machine (lets call it A) runs SunOS 5.6 and is not our mailserver, as I wanted to try the new daemon out before installing it on machine (B) which is our mailserver. Users get their mail from B via POP.
Before upgrading, when a user on A sent a mail to another user with "mail otheruser", the machine A would deliver the mail to machine B where "otheruser" could retrieve it via POP.
Now machine A just queues the message saying that it cannot access the alias database.
When I send the mail from A to "email@example.com" it works, even though I still get a message "dbm map "Alias0": unsafe map file /var/lib/mail/aliases".
Just in case I created the "relay-domains" file and added my own domain, which I guess should not be necessary, but that would not help either.
When I try to rebuild the alias database with "sendmail -v -bi" I get the following:
WARNING: World writable directory /var/lib/mail
dbm map "Alias0": unsafe map file /var/lib/mail/aliases
WARNING: cannot open alias database /var/lib/mail/aliases
Cannot create database for alias file /var/lib/mail/aliases
8.9.1 seems to be picker about those things, as with 8.6.7! I basically got the same error message, but still it worked.
I cannot even change the access-rights to the /var/lib/mail directory, as it seems to be locked by an application. Even killing sendmail would not help.
In my log I get:
Dec 22 19:15:02 MYCOMPUTER sendmail: NOQUEUE: SYSERR(root): dbm map "Alias0": unsafe map file /var/lib/mail/aliases
for ever try to send a mail.
I know this sounds pretty confusing and confused ... but maybe someone can give me a hint....
PS: I used the same .mc files that were already used to configure 8.6.7, could that be a problem?