🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.sendmail
Article #2920

dead.letter mode

#2920
From: Rahul Dhesi
Date: Sat, 12 Nov 1988 18:52
15 lines
1150 bytes
Using sendmail on a 4.3BSD system, I find that dead.letter is created
with mode 0666 allowing read and write access by all.  I would like to
change this to 0600 so only the owner has access to it.  Can't find any
code for this in sendmail;  where should I look and what's the easiest
way to change it?  (Ideal would be something to put in sendmail.cf so
we don't need to recompile sendmail.)

I did try saying "-oF0600" when invoking sendmail, which sets the mode
of temporary files to 0600.  It didn't affect the mode of dead.letter.

(Once dead.letter is created in the user's directory and its mode
changed to 0600, it remains so, but this is not the best solution
because eventually dead.letter will grow and get deleted by the user.)
-- 
Rahul Dhesi         UUCP:  <backbones>!{iuvax,pur-ee}!bsu-cs!dhesi
Technical Details
Message-ID: <4711@bsu-cs.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!purdue!iuvax!bsu-cs!dhesi

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!purdue!iuvax!bsu-cs!dhesi
From: dhesi@bsu-cs.UUCP (Rahul Dhesi)
Newsgroups: comp.mail.sendmail
Subject: dead.letter mode
Message-ID: <4711@bsu-cs.UUCP>
Date: 12 Nov 88 18:52:21 GMT
Reply-To: dhesi@bsu-cs.UUCP (Rahul Dhesi)
Organization: CS Dept, Ball St U, Muncie, Indiana
Lines: 15