in master.cf you said postfix to run deliver as user dovecot.
deliver then ask sql and get the info to stote the mail as uid 12345
deliver has to run setuid root to do that.
see http://wiki.dovecot.org/LDA#Multiple_UIDs
or you can change master.cf to
dovecot unix - n n - - pipe flags=DRhu user
Changed home dir of users, in my configuration they are
/var/postfix/spool and /var/postfix/dovecot/run, but with no effect.
I still got the "fatal setgid failed: Not owner" ( Fatal:
setgid(12345(postfix)) failed with euid=12346(dovecot),
gid=54322(dovecot), egid=54322(dovecot): Not owner )
2010
Hello ALL,
I got errors on a new installation, maybe I forgot something.
The system is Solaris, Dovecot 1.2.10, Postfix 2.7.0, MySQL 5.1.25.
Can send mail with dovecot imap, but can`t retrieve the messages.
Strange, I can save and retrieve draft messages ok, files are always
with postfix:postf