Hi,

I have a question regarding some output to: /var/log/maillog when I update the: /etc/mail/aliases file.

If I make a change to: /etc/mail/aliases:

   $ doas vim /etc/mail/aliases
   $ doas newaliases

I see the following in: /var/log/maillog:

... server smtpd[50072]: /etc/mail/aliases: fopen: Permission denied
... server smtpd[50072]: info: Failed to update table "aliases"

However, the output from: newaliases shows:

    $ doas newaliases
    /etc/mail/aliases: 69 aliases

Test messages also show that the changes to the aliases file are being picked up.

The current permissions I have on: /etc/mail/aliases are:

-rw-r-----   1 root       wheel       2.1K Jun 14 17:31 aliases
-rw-r-----   1 root       wheel      64.0K Jun 14 17:31 aliases.db

... and I don't believe I've changed the file permissions (please correct me if this isn't the default set of permissions).

My question is - why does smtpd output what it does - particularly the "failed to update table" portion ?

Thanks,

- J

Reply via email to