Sun Java System Messaging Server 6 2005Q4 Administration Guide

Check the Ownership of Critical Files

You should have selected a mail server user account (nobody by default) when you installed Messaging Server. The following directories, subdirectories, and files should be owned by this account:


/msg_svr_base/data/queue/
/msg_svr_base/log
/tmp

Commands, like the ones in the following UNIX system example, may be used to check the protection and ownership of these directories:


ls -l -p -d /opt/SUNWmsgsr/data/queue
drwx------ 6 inetuser bin 512 Feb 7 09:32 /opt/SUNWmsgsr/data/queue

ls -l -p -d /opt/SUNWmsgsr/log/imta
drwx------ 2 inetuser bin 1536 Mar 10 09:00 /opt/SUNWmsgsr/log/imta

ls -l -p -d /opt/SUNWmsgsr/imta/tmp
drwx------ 2 inetuser bin 512 Feb 7 10:00 /opt/SUNWmsgsr/imta/tmp

Check that the files in /msg_svr_base/data/queue are owned by the MTA account by using commands like in the following UNIX system example:

ls -l -p -R /opt/SUNWmsgsr/data/queue