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

2013-01-23 Thread Timo Sirainen
On 22.1.2013, at 21.44, Tim Marston t...@ed.am wrote: On Tue, Jan 15, 2013 at 11:33:08PM +, 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`)? Would this pose some kind of security

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 t...@ed.am 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 mutt with the following:

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 +, 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`)? Would this pose some kind

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

2013-01-15 Thread Tim Marston
Hi, I'm running dovecot 1.2.15, on Debian squeeze. /var/mail is owned by group mail with permissions g+rwxs,o=. The mail_privileged_group setting is set to mail. I am trying to access mail on a remote machine with mutt by tunnelling mutt though ssh and running `dovecot --exec-mail imap` on the