[Dovecot] postfix + dovecot lda,

Timo Sirainen tss at iki.fi
Sun Sep 9 06:12:08 EEST 2007


On Sun, 2007-09-09 at 06:08 +0300, Timo Sirainen wrote:
> On Wed, 2007-08-29 at 16:53 +0100, Michael Moritz wrote:
> > I'm trying to replace procmail with deliver but I'm having problems with the 
> > group part of things. I keep getting:
> > 
> > Aug 29 16:44:19 dingbat deliver(mimo): 
> > open(/var/mail/.temp.dingbat.3969.d1689935a308e0dd) failed: Permission denied
> > Aug 29 16:44:19 dingbat deliver(mimo): file_lock_dotlock() failed with mbox 
> > file /var/mail/mimo: Permission denied
> > 
> > My primary group is mimo and I think it's trying to use that. I changed it to 
> > mail and things work. But I do not want all my users to have a primary group 
> > mail. 
> > 
> > Is there a way I can force deliver to use group mail as group and ignore the 
> > per user gid?
> 
> Do you run deliver as root? If so, for now you could do this:
> 
> protocol lda {
>   restrict_setextragroups = mail
> }
> 
> I'll fix mail_extra_groups to work with deliver for v1.0.5.

Or actually not. Too big of a chance to break someone's setup. deliver
setups are always a bit kludgy. :) But fixed to v1.1:
http://hg.dovecot.org/dovecot/rev/dee75c83d6f4

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070909/544ff388/attachment.bin 


More information about the dovecot mailing list