Hi, First of all BIG THANKS for great piece of software. I have a small problem with autocreate. My mails are stored in: /var/mail Ex. /var/mail/test at test.pl/Maildir Account information comes from DB. So when new account appears in DB full path including home dir is created. But there is one small problem: Group always is "wheel". Autocreating ignores gid from DB and uses the group of the parent directory - in this case /var/mail. But when I create home dir manualy (setting right group) group of autocreated Maildir is OK. Is it possible to configure dovecot to set group from DB. Regards, Bambero
On Fri, 2010-06-18 at 22:04 +0200, Bambero wrote:> Group always is "wheel". Autocreating ignores gid from DB and uses the > group of the parent directory - in this case /var/mail.Does /var/mail directory have setgid bit enabled? See if chmod g-s /var/mail helps. Also you didn't say what Dovecot version you're using.
B> Group always is "wheel". Autocreating ignores gid from DB and uses the B> group of the parent directory - in this case /var/mail. TSS> Does /var/mail directory have setgid bit enabled? See if chmod TSS> g-s /var/mail helps. For the record: BSD always inherits the group from the parent directory, even without its set-group-id bit being set.