*BSD News Article 45228


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!news.ultranet.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!cyberstore.ca!vanbc.wimsey.com!unixg.ubc.ca!atha!nss.mag-net.com!canada!canada!not-for-mail
From: lyndon@orthanc.com (Lyndon Nerenberg)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: smail-3.1.29.1 cannot lock mailboxes
Date: 8 Jun 1995 15:09:59 -0700
Organization: Orthanc Systems
Lines: 27
Message-ID: <3r7sg8$1ih@multivac.orthanc.com>
References: <3r29u3$9vm@Mars.mcs.com>
NNTP-Posting-Host: multivac.orthanc.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. 

The normal mailbox append behaviour doesn't work on 4.4BSD derived systems.

The solution is to use /usr/libexec/mail.local to perform final delivery to
local mailboxes. Change the entry for 'local' in the smail transports file
to this:

local:  driver=pipe,                    # call out to a program
        return_path,                    # include a Return-Path: field
        local,                          # use local forms for delivery
#       from,                           # supply a From_ envelope line
        -max_addrs;                     # give multiple addresses to command

        cmd="/usr/libexec/mail.local -f $from $(${lc:user}$)"

--lyndon


-- 
Orthanc Systems: Internet and UNIX consulting

lyndon@orthanc.com || canada!lyndon || Fax: +1 604 561 2067