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? I tried chmod 6755 /usr/lib/dovecot/deliver but no change. This is on debian/etch, help appreciated.... mimo
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 29 Aug 2007, Michael Moritz wrote:> Is there a way I can force deliver to use group mail as group and ignore the > per user gid? > > I tried chmod 6755 /usr/lib/dovecot/deliver but no change.If I remember correctly, there is a setting mail_extra_groups to do right this. Bye, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBRtZqTi9SORjhbDpvAQLa0AgAxYcQ5yeekyl2Mo3NTtdPlf76ndTWGJoh i5bFzzpRfdskhpFN8+PYz15rnoTtXF3pCb65QXmUXFp7DkSspxewW7eaOdA2d+s/ LfAAXGJ59T9M4NXX/PrDkpwDpr6E4dcX3ZwtsLPDi4hx8fEc3yHIz6wYzK1zX7T6 ZraT5W974B0UceZ1EkegysKwGeqlG6bE3Lzw7k805NUJ5er72vi3BwtkMUtt/g9T YE6/xpHqPiXWygwua/d7J2fYGd8Js9nULgIUCNi3u0hgtK8YaojiVbHTGx7xyszY HihLgS0FPZdT3nAPFjAtKMpFtirlDVXviI15VG5FZ2X9mPT2/pxsfw==qqFz -----END PGP SIGNATURE-----
On Thursday 30 August 2007 07:57:15 Steffen Kaiser wrote:> On Wed, 29 Aug 2007, Michael Moritz wrote: > > Is there a way I can force deliver to use group mail as group and ignore > > the per user gid? > > > > I tried chmod 6755 /usr/lib/dovecot/deliver but no change. > > If I remember correctly, there is a setting mail_extra_groups to do right > this. > > Bye,Sorry, I should have included this before # dovecot -n # /etc/dovecot/dovecot.conf log_timestamp: %Y-%m-%d %H:%M:%S protocols: imap login_dir: /var/run/dovecot/login login_executable: /usr/lib/dovecot/imap-login mail_extra_groups: mail mail_location: mbox:~/mail:INBOX=/var/mail/%u auth default: passdb: driver: pam userdb: driver: passwd socket: type: listen client: master: path: /var/run/dovecot/auth-master mode: 384 user: mail group: mail
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. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070909/a9407bc3/attachment-0002.bin>