HP-UX Mailing Services Administrator's Guide
Configuring and Administering Sendmail
Troubleshooting Sendmail
Chapter 2106
How to Resolve Warning Messages When You Send Mail
Warning messages may appear when you send mail as a root user.
Following is an example statement:
#echo “Subject: Testing” | /usr/sbin/sendmail root
warning: /etc/mail/aliases has world read or write
permission. This is unsafe.
warning: /etc/mail/aliases.db has world read or write
permission. This is unsafe.
warning: /etc/mail/sendmail.st has group read/write or world
read/write permission. This is unsafe
Warning messages appear only for the files that have incorrect
permission. To resolve the warning messages, run the appropriate
commands as described in the sections “The mailstats Utility” on
page 104 and “The newaliases Utility” on page 105.
Impact on Non-Root Users
With the change in permission, non-root users cannot access the files and
databases associated with Sendmail, and a Permission denied message
appears when you run any utility that access the Sendmail files and
databases.
The following messages appear when you run the praliases and
mailstats utilities:
$ praliases
praliases: /etc/mail/aliases: open: Permission denied
$ mailstats
mailstats: /etc/mail/sendmail.st: Permission denied