Problem
I keep noticing in /var/adm/syslog that sendmail reports:
forward /home/<username>/.forward.<hostname>: World writable
directoryforward /home/<username>/.forward: World writable directoryThe user's mail is not being forwarded correctly and is instead being filed to the local mailbox.
Cause
The most recent version of sendmail, shipping with UnixWare 7.1.1, includes new security enhancements. With this version, sendmail actively checks for permissions on critical configuration files.
Solution
All directories leading up the directory tree from / must not be world writable. For example, if the user's .forward file exists in:
/home/ericd/.forwardthen /home, /home/ericd, and /home/ericd/.forward must all have
the permissions set to o-w, using chmod. For example:chmod o-w /home
chmod o-w /home/ericd
chmod o-w /home/ericd/.forward See also
http://www.sendmail.orgNOTES: This is true for OpenServer as well as UnixWare, but it may not log
any errors to /var/adm/syslog. Make sure all directories are not
world-writable.