Re: require_files undesirable behavior

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Jay Denebeim
CC: exim-users
Subject: Re: require_files undesirable behavior
On Fri, 16 May 1997, Jay Denebeim wrote:

> Barring that, it sounds to me like you're either going to have to switch
> back and forth into root as the UID, or run down the passwd file looking
> for .forwards and .procmailrcs before giving up root.


In general, it doesn't know it's a home directory. You can say

require_files = /anything/you/like/$local_part

for some local_part that is not a login id at all (name of mailing list,
for example) so it ain't even that simple.

Actually, Exim hasn't totally given up root when processing
require_files; it has only done so using seteuid(), so that it can get
it back in order to use setuid() to do local deliveries. It could be
changed to ensure that it is root when searching for require_files.

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