[exim] [SOLVED] Re: user= in routers

Top Page
Delete this message
Reply to this message
Author: dawnshade
Date:  
To: exim-users
CC: Graeme Fowler
Subject: [exim] [SOLVED] Re: user= in routers
On Суббота 31 марта 2007, dawnshade wrote:
> On Суббота 31 марта 2007, Graeme Fowler wrote:
> > On Sat, 2007-03-31 at 14:08 +0400, dawnshade wrote:
> > > does option 'user = someusername' not worked into routers?
> > > spec.txt said:
> > >
> > > +--------------------------------------------------+
> > >
> > > |user|Use: routers|Type: string*|Default: see below|
> > >
> > > +--------------------------------------------------+
> > >
> > > When a router queues an address for a transport, and the transport does
> > > not specify a user, the user given here is used when running the
> > > delivery process.
> >
> > Like it says, user=blah in a router sets the user for the corresponding
> > transport (unless the transport then overrides it by specifying
> > something else). In your case, the router itself is run by the Exim
> > user, hence the "default" uid and gid you mention.
> >
> > You probably need to set some supplementary groups for your Exim user
> > (ie. "vpopmail") and then make sure that the group has read access to
> > the files you need to read.
>
> the main problem why i can't use "supplementary groups" - filemode 600, if
> configured mode = 0664 and directory_mode = 0755 in correspoding router
> anyway no success. seem to be IMAP/POP3 daemon "fix" these permissions for
> file maildirsize :(


permission for this file set 600 hardcoded into exim itself. file 
src/transports/tf_maildir.c, string 562:     fd = Uopen(tempname, O_RDWR|
O_CREAT|O_EXCL, 0600);
i don't think that is right  - ignore value 'mode=XXX' which set in trasport 
for create file maildirsize.