Sendmail newaliases: cannot create database

Discussion in 'Server Operation' started by bidevi, Jul 21, 2007.

  1. bidevi

    bidevi New Member

    While trying to install sendmail-8.14.1 on Debian Etch according to the instructions on this web page

    http://www.howtoforge.com/howto_sendmail_smtp_auth_tls

    in the part named: "Finally we have to create some files:" I ran into a problem when it came to newaliases:

    hash map "Alias0": unsafe map file /etc/mail/aliases.db: Permission denied
    WARNING: cannot open alias database /etc/mail/aliases
    Cannot create database for alias file /etc/mail/aliases


    I went on with the installation anyway, but what to do?
     
    Last edited: Jul 21, 2007
  2. falko

    falko Super Moderator Howtoforge Staff

    Did you run the command as root?
    What's the output of
    Code:
    ls -la /etc/mail
    ?
     

Share This Page