TCR 1.6 sendmail disk service

From: Howard E. Arnold (arnoldh@celerent.com)
Date: Thu Jul 18 2002 - 17:23:18 EDT


I have setup a disk service for an application and with it I've added the
mail directories so that when the application fails over all the mail and
users that it needs goes with it. The disk service has the following
directories that fail over as well as the IP address:

application#shared /shared
mail_domain#mail /var/spool/mail
             #mqueue /var/spool/mqueue
user_domain#user /usr/users

This works if I shutdown the box, but if I manually try to fail over the
service it fails saying the /var/spool/mail directory is busy. What I have
found is /usr/spool/ is linked to /var/spool so mail gets recreated in
/var/spool and when the service fails over it sees the directory mail
already there. The only account that seems to cause this is root because the
ase alert log sends root a message thus creating /usr/spool/mail/root which
causes the service to fail. I know I can change the ADMIN to some other user
in the alert log, but eventually something with send a message to root and
then cause the same problem.

I guess what I'm looking for is a way to have only the root user use a
different directory for mail. Is this possible and if so how do I do it? Is
there some place I can specify that root uses /var/spool/root/mail and
/var/spool/root/mqueue?

I'm using V4.0f and TCR 1.6. Sendmail is what comes with 4.0f. I know it's
old, but I need to get this problem worked out first before I upgrade it.

Thanks,

Howard Arnold
Consultant Engineer
Email: arnoldh@celerent.com
Phone: (603)685-6060 ext 206



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:46 EDT