*BSD News Article 45215


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!news.alpha.net!uwm.edu!cs.utexas.edu!howland.reston.ans.net!quagga.ru.ac.za!ucthpx!ucthpx!not-for-mail
From: smarq@ucthpx.uct.ac.za (S Marquard)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: smail-3.1.29.1 cannot lock mailboxes
Date: 7 Jun 1995 10:34:13 +0200
Organization: University of Cape Town
Lines: 23
Message-ID: <3r3oa5$62n@ucthpx.uct.ac.za>
References: <3r29u3$9vm@Mars.mcs.com>

chilton@MCS.COM (Christopher Hilton) writes:

>I'm  having troubles with smail-3.1.29.1 I get permission denied
>errors when trying to lock the mailbox before appending to it on local
>delivery. 

>My mailbox is empty (doesn't exist before startup) so smail should
>create it.

>The permissions on my /var/mail directory are 755 bin bin.

You need to use the pipe driver to deliver mail through 
/usr/libexec/mail.local instead of using smail's appendfile driver.

This needs to be set in /usr/local/lib/smail/routers I think; email
me for details of a working setup.

755 works fine. 777 is definitely a security hole, and I believe 1777
isn't ideal either.

Regards
Stephen