From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079058316040.tru64-unix-managers.marc@archive.invalid> From: Valerie Caro Date: Fri, 23 Jul 1999 20:35:47 +0000 To: tru64-unix-managers Subject: SUMMARY: dtmail problem in DUv4.0D X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079058316040 The original question: ---------------------------------------------------------------------- I have seen several messages from people having this same problem, but I can't find someone who sent a solution to it. We have an alpha running DU v4.0D + patchset 3. We are having a problem using dtmail. The user get's an error such as: "Cannot set owner of temporary mailbox file. Temporary Mailbox file: /usr/spool/mail/joe tmp.379774fa Owner uid requested: 1333 Reason: Not owner" The /var/spool/mail directory is nfs mounted from another machine. No other mailers have this problem however. ------------------------------------------------------------------- I had several replies which suggested I set the group of /var/spool/mail to the mail group. I did this and dtmail now works. I also got a reply from Dr. Thomas P. Blinn saying this was probably a dtmail bug. All messages are included below. Thanks for the quick help! ------------------------------------------------------------------- >From tpb@doctor.zk3.dec.com Fri Jul 23 16:33:21 1999 Date: Fri, 23 Jul 99 11:32:40 -0400 From: "Dr. Tom Blinn, 603-884-0646" To: Valerie Caro Subject: Re: dtmail problem in DUv4.0D Probably a dtmail bug. I would be genuinely surprised if we ever tested the use of dtmail with the mail spool NFS mounted. In fact, we might even say it is NOT supported. Tom Dr. Thomas P. Blinn + UNIX Software Group + Compaq Computer Corporation 110 Spit Brook Road, MS ZKO3-2/W17 Nashua, New Hampshire 03062-2698 Technology Partnership Engineering Phone: (603) 884-0646 Internet: tpb@zk3.dec.com Digital's Easynet: alpha::tpb ACM Member: tpblinn@acm.org PC@Home: tom@felines.mv.net ----------------------------------------------------------------------- >From shirts@zeeman.lmsal.com Fri Jul 23 16:34:52 1999 Date: Fri, 23 Jul 1999 09:36:59 -0700 (PDT) From: Phil Shirts To: Valerie Caro Cc: Phil Shirts Subject: Re: dtmail problem in DUv4.0D Hi, ...I believe we had this problem before. The following is an excerpt from an e-mail I wrote describing my understanding of this problem, and the fix (the first one, described below, worked) that I implemented. >The problem with dtmail arises because >Digital Unix implements the 'chown' command >differently than the Sun Solaris operating system >does, and Sun Microsystems wrote the dtmail software. > >Apparently, the 'workaround' (no solution) >is to change the group ownership of the file >/var/spool/mail to be 'mail'. > >I have done this: > prompt> pwd > /var/spool > prompt> ls -la > drwxrwxrwt 2 root mail 8192 Jun 10 06:23 mail >A second 'workaround' is to change the group ownership of >the file /var/spool/mail/specific_user to the same group >ownership (whatever it is) as the file /var/spool/mail. Best wishes, Phil Phil Shirts, Software Engineer, L941/252, Lockheed-Martin ATC, 3251 Hanover St., Palo Alto, CA 94304-1191 650/354-5936 FAX 650/424-3994 shirts@lmsal.com ----------------------------------------------------- >From larry@cs.wsc.ma.edu Fri Jul 23 16:34:44 1999 Date: Fri, 23 Jul 1999 11:57:12 -0400 From: Larry Griffith To: Valerie Caro Subject: Re: dtmail problem in DUv4.0D Dear Valerie, A wild guess (we don't use dtmail much and our mail spool isn't NFS-distributed): it looks like dtmail is trying to write a lock file. The protection on dtmail (at least on my machine) is: 5578 944 -r-xr-sr-x 1 bin mail 966656 Nov 12 1998 /usr/dt/bin/dtmail Since dtmail is setguid, perhaps the group of the mailbox must be "mail" and isn't or NFS isn't honoring the setguid status of dtmail? Larry ============================================================================ Larry Griffith Dept. of Computer & Info Science larry@cs.wsc.ma.edu Westfield State College (413) 572-5294 Westfield, MA 01086 USA PGP public key available at: http://cs.wsc.ma.edu/dcis/griffith.html ============================================================================ --- Valerie Caro Computer Science Computing Facility, valerie@cs.umass.edu LGRC Room A313, University of Massachusetts Amherst, MA 01003