Re: Local delivery problems on FreeBSD

Top Page
Delete this message
Reply to this message
Author: Chris Thompson
Date:  
To: Philip Crewdson
CC: exim-users
Subject: Re: Local delivery problems on FreeBSD
Philip Crewdson wrotes:
>
> I'm running exim 1.58 on FreeBSD (2.1.5 release), and it's working fine,
> except it won't deliver to users on the machine it's running on. The
> mainlog records this entry for local-user-to-local-user attempts:
>
> 1996-11-27 19:57:08 0vSq6W-0007mL-00 <= philip@??? U=philip
> P=local S=463
> 1996-11-27 19:57:08 0vSq6W-0007mL-00 == paul@???
> T=local_delivery defer (13): Permission denied: creating lock file hitching
> post


Assuming you are using a director with driver=localuser, the delivery process
runs as the user addressed. Probably the directory *containing* the file
addressed by the appendfile transport is not writable by this (or most) users,
so it can't create a <file>.lock file. You might be able to circumvent this
by specifying use_lockfile=no on the transport definition, but read the spec
*very* carefully first.

> and this for root-to-local-user:
>
> 1996-11-27 20:00:08 0vSq9Q-0007mZ-00 <= root@??? U=root P=local S=460
> 1996-11-27 20:00:08 0vSq9Q-0007mZ-00 == paul@???
> T=local_delivery defer (-1): Retry time not yet reached


This means what it says. It's nothing to do with the fact that the message
was from "root". *Nothing* about delivery depends on the sender [well, unless
you get perverse inside a pipe]. Any mail to paul@??? would
remain queued until the retry interval for delivery to that user expires.

Chris Thompson               Cambridge University Computing Service,
Email: cet1@???    New Museums Site, Cambridge CB2 3QG,
Phone: +44 1223 334715       United Kingdom.