How do I set the correct ownership and permissions on the spool directory?
The spool directory needs to have ownership and permissions set correctly. Normally, this directory has owner root and group mail, and has permissions set drwxrwxr-x or drwxrwxrwt. (The second form sets the sticky bit to prevent non-owners from deleting or renaming files.) For example, if your spool directory is /var/mail, enter: chown root:mail /var/mail chmod u=rwx,g=rwx,o=rx /var/mail or chmod a=trwx /var/mail chmod ug=rw,o-rwx /var/mail/* The first command sets the spool directory so it has owner root and group mail. The first form of the second command sets permissions so that only user root or group mail can create or write files. The second form sets permissions so that anyone can create files, but only the owners can delete or rename them. The third command sets the permissions on existing spool files so that the owners and group mail can read and write them, but no one else can access them. If you do an ls -ld on your spool directory, it should show as drwxrwxr-x or drwxrwxrwt