6 Oct
2010
6 Oct
'10
2:26 a.m.
On 10/05/2010 07:17 PM, Timo Sirainen wrote:
It can't do delivery as net-mail group if they're 0700.
dovecot runs as my userid; david:david so it has permissions for accessing anything in .maildir/ and below. this is why it gets EPERM errors when it tries to set the group id of net-mail.
it's a bug in dovecot to assume a) the user wants this gid change even without setgid, and b) that it can change the gid to an arbitrary value of a parent directory.
other software runs as <something>:net-mail, and it's use and operation is not applicable to this discussion. mode 0700 is not functional for this group of software and mode 0770 is too lax.