On 02/13/2010 09:28 PM, Pascal Volk wrote: > On 02/13/2010 02:57 PM Alexander 'Leo' Bergolth wrote: >> I'd like to use deliver (dovecot-1.2.10) as LDA to deliver mails to my >> local users on my postfix-system. >> >> However, deliver tries to copy the filesystem permissions of the >> mail-spool-files to the user's index files, which doesn't work, since >> the files in /var/mail/ belong to the group 'mail'. >> >> Feb 13 00:21:19 leo-x61 dovecot: deliver(leo): >> fchown(/home/leo/mail/.imap/INBOX/dovecot.index.log.newlock, -1, >> 12(mail)) failed: Operation not permitted (egid=100(users), group based >> on /var/mail/leo) >> >> Is there any workaround? > > Hm, what about a 'better solution'? Using Maildir. [...] > Dovecot: dovecot.conf² > mail_location = maildir:~/Maildir
Unfortunately switching from mbox to maildir is not an option. Btw. I don't see the solution. If the inbox is still /var/mail/<user> and is still group-owned by "mail", dovecot will still have the same problems cloning the group-permissions to ~/Maildir. Cheers, --leo -- e-mail ::: Leo.Bergolth (at) wu.ac.at fax ::: +43-1-31336-906050 location ::: IT-Services | Vienna University of Economics | Austria