Re: [Dovecot] Permissions when running `dovecot --exec-mail imap`

2013-01-23 Thread Tim Marston
Hi, On Wed, Jan 23, 2013 at 10:03:50AM +0200, Timo Sirainen wrote: > On 22.1.2013, at 21.44, Tim Marston wrote: > > # chgrp mail /usr/bin/dovecot > > # chmod g+s /usr/bin/dovecot > > > > I am still able to use IMAP normally, and I am now also able to set up

Re: [Dovecot] Permissions when running `dovecot --exec-mail imap`

2013-01-22 Thread Tim Marston
Hi, I got no reply about this, so I thought I'd just follow-up... On Tue, Jan 15, 2013 at 11:33:08PM +0000, Tim Marston wrote: > Would it be acceptable to setgid the dovecot executable and change it's > group to "mail" (i.e., `chgrp mail dovecot` and `chmod g+s dovecot

[Dovecot] Permissions when running `dovecot --exec-mail imap`

2013-01-15 Thread Tim Marston
another solution... Would it be acceptable to setgid the dovecot executable and change it's group to "mail" (i.e., `chgrp mail dovecot` and `chmod g+s dovecot`)? Would this pose some kind of security risk? Would this actualy do what I want, or am I missing a bigger picture? Kind regards, [1] http://wiki.dovecot.org/PreAuth -- Tim Marston ed.am