SUMMARY: Can't opent '/var/tmp/xxxxx_' type: r*, Can't create output

From: John Bradley (john.bradley@sr5.chinalake.navy.mil)
Date: Mon Aug 10 1998 - 18:18:32 CDT


Thanx to:
 
"Daniel T Pigg" <piggd@colltech.com>
djohnson@nbserv1.dseg.ti.com (Danny Johnson)
Ka Kau Chan <kkc@ans.net>
mdb@dosmanos.bolix.com (Martin D. Baldenegro (RRNC))
Jonathan.Loh@BankAmerica.com
Seela Balkissoon <seela@cs.yorku.ca>
"Rodney C. Marable" <marable@netgen.com>

SUMMARY:
----------
All of the above told me to check my permissions, so I did.
/var/mail was the problem, it had 755 owner=root, group=sys.

/var/mail directory should be

# chmod 1775 /var/mail or chmod 1755 /var/mail
# chown root:mail /var/mail

This seems to work, and sendmail doesn't complain.

ORIGINAL:
----------
I get the following error when sending emails locally to myself
or any other user on this system.

mail: /var/mail/johnb
mail: Can't open '/var/tmp/mailQvh12_' type: r+
mail: Cannot create dead.letter
550 johnb... Can't create output

Sendmail: 8.9.1
OS: Solaris 2.6
Note: /var/mail and /var/tmp are local file systems.

thanx,
jb

-- 
                                                  wwwww
                                                g( o o )g
----------------------------------------------o00--(_)--00o---
+  John Bradley  NAWC Chinalake, CA                          +
+  UNIX/PC/Mac/Network Administrator - CTA Inc.              +
+  Phone: 760.939.5887 pager: 760.375.0997     .oooO Oooo.   +
+  E-Mail: john.bradley@chinalake.navy.mil     (   ) (   )   +
------------------------------------------------\ (---) /-----
                                                 \_) (_/



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:45 CDT