Configure the temporary database directory on the Messaging Server host by setting the store.dbtmpdir parameter to a directory under /tmp.
For example:
configutil -o store.dbtmpdir -v /tmp/mboxlist |
Move the data/lock directory to a local file system, for example, /tmp.
Create a symlink to the lock directory.
For example:
mv /var/opt/SUNWmsgsr/lock /tmp/lock ln -s /tmp/lock /var/opt/SUNWmsgsr/lock |
If you do this, modify the startup script to recreate the /tmp/lock directory (with proper permissions) upon bootup. Otherwise, it won't exist and your sever will fail to start.