HP-UX Mailing Services Administrator's Guide (B2355-91064)

Mailermsgsdismsgsrejbytes_tomsgstobytes_frommsgsfrM
00138K13694K90T
013690C
How to Resolve the Warning Messages
To resolve these warning messages, run the following command:
# chmod 600 /etc/mail/sendmail.st
Now, if you execute the mailstats utility, the warning messages do not appear.
The newaliases Utility
newaliases rebuilds the database for the mail aliases file. If you run the newaliases
utility with root user permission, the following warning messages might appear:
# newaliases
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.
/etc/mail/aliases: 7 aliases, longest 9 bytes, 88 bytes total
How to Resolve the Warning Messages
To resolve the warning messages, run the following command:
# chmod 640 /etc/mail/aliases /etc/mail/aliases.db
Now, if you execute the newaliases utility, the warning messages do not appear.
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” (page 101) and “The newaliases Utility” (page 102).
102 Configuring and Administering Sendmail