On Wed, Feb 04, 2015 at 06:56:09AM -0300, Hugo Osvaldo Barrera wrote:
> > > 
> > > I do get some issues regarding dovecot and it's lda now, though I won't 
> > > go into
> > > details since it's off topic.
> > > 
> > > I am wondering though: as what user is the command from `deliver to mda`
> > > invoked (in this case: "/usr/local/libexec/dovecot/dovecot-lda").
> > > 
> > > Thanks, cheers,
> > > 
> > 
> > MDA is invoked with the privileges of the end user.
> > 
> 
> So, to make sure if I'm still not mistaken: in the above example, it would be
> 1000:100, right?
> 

yes


> > Since recently this can be overriden so that all deliveries take place as
> > a specific user, people use it for LMTP as far as I know.
> > 
> 
> This hasn't made it to the latest snapshot, has it?
>

it has, it's been around for a while "deliver [...] as _user"


> Also, if I use lda with a unix domain socket, do I still need to give write
> permissions to the user (eg: 1000:100 in this case), or does smtpd connect to
> it using the same user the process runs as?
> 

yes, the mda will run as the user so if it needs to access something, be
it a file or a socket, the permissions should be ok for that user


-- 
Gilles Chehade

https://www.poolp.org                                          @poolpOrg

-- 
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to