[Dovecot] Ubuntu, Exim, deliver: permissions/setgid problem

Jan Srzednicki w at expro.pl
Fri Jan 26 12:11:43 UTC 2007


On Fri, Jan 26, 2007 at 01:55:46PM +0200, Timo Sirainen wrote:
> On 26.1.2007, at 6.01, Sam Hathaway wrote:
> 
> >I have a little problem. I'm trying to set up Dovecot deliver (1.0  
> >beta
> >3) as the LDA for Exim4 on Ubuntu 6.06 with MBOX, and I'm running into
> >permissions problems. Exim typically wants to run pipes as the user to
> >whom the mail is being delivered (as per the "check_local_user").
> >deliver needs access to the auth socket and needs to be able to create
> >files in /var/mail.
> 
> If Exim sets the UID/GID already, does it also set HOME environment,  
> or can you set default_mail_env without relying on the home dir  
> coming from userdb? In that case if you just don't give -d parameter  
> to deliver, it won't even try to connect to dovecot-auth and it won't  
> try to change uid/gid.

Would it be possible to add a flag to the LDA which would prevent it
from trying to set the UID/GID regardless of the HOME env and stuff?

Or, is it possible to set QUOTA environment variable as well?

-- 
Jan Srzednicki
w at expro.pl



More information about the dovecot mailing list