Sun Java System Messaging Server 6.3 Administration Guide

26.2.3 Check the Ownership of Critical Files

You should have selected a mail server user account (mailsrv 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/data/log
msg-svr-base/data/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
drwxr-x---   2 mailsrv  mail 512 Jan  4 16:09 /opt/SUNWmsgsr/data/queue/

ls -l -p -d /opt/SUNWmsgsr/data/log
drwxr-x---   2 mailsrv  mail  3072 Feb 16 12:07 /opt/SUNWmsgsr/data/log/

ls -l -p -d /opt/SUNWmsgsr/data/tmp
drwxr-x---   2 mailsrv  mail   512 Feb 16 12:55 /opt/SUNWmsgsr/data/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