Re: require_files

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Philip Hazel
Data:  
Para: David.Osborne
CC: exim-users
Asunto: Re: require_files
On Mon, 2 Dec 1996 David.Osborne@??? wrote:

> # director
> majordomo_list_requests:
> suffix = -request,
> require_files = /usr/local/majordomo/lists/${local_part},
> driver = smartuser,
> transport = majordomo_request_pipe;
>
> If the file doesn't exist, I want the address to "drop through" and eventually
> be rejected as unknown.


That is indeed the way that ought to work.

> The problem I have is that delivery is deferred if the file doesn't exist, even
> though its parent directory is on a permanently mounted filesystem. I
> understand the comment about NFS in the spec document but in this case, I'd
> expect stat() to determine that the file is non-existent.


The code for testing require_files doesn't do anything special about
NFS. It should defer only if stat() gives an error other than ENOENT or
ENOTDIR.

The only way to solve this mystery is to put in some debugging code
around line 328 of the match.c module and get it to print out what it is
getting back from stat().

--
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714