Rich Winkel wrote:
Thanks for your help mouss!
On Fri, Sep 19, 2008 at 10:22:40AM +0200, mouss wrote:
Rich Winkel wrote:
Hi, I'm trying to set up dovecot 1.1.2 and postfix 2.5.4 on freebsd 7.0.
I'm getting permissions problems on auth-master and I'm not sure of the
correct settings to use.
In postfix's main.cf I have
mailbox_command=/usr/local/libexec/dovecot/deliver -d $USER
In dovecot.conf I have:
socket listen {
master {
path = /var/run/dovecot/auth-master
mode = 0660
user = dovecot
group = postfix
}
leave the master as it was and add a client for postfix:
client {
path = /var/spool/postfix/private/dovecot
mode = 0660
user = postfix
group = postfix
}
I'm confused. So deliver doesn't need access to the master socket?
Because it uses the master (not the client) in the default setup ...
oops. ignore my garbage. for some reason, I thought your problem with
dovecot auth. Now that I reread your post, I don't see where I got that!
in your case, see the "Multiple UIDs" section in
http://wiki.dovecot.org/LDA
(you need setuid...).
Also how does this differ in terms of permissions from my current
setup? In both cases you would have group postfix rw perms on the
socket. And looking at the docs, I'm doubly confused! It says mailbox_command
runs with the userid of the recipient. So how is it supposed to access
this socket in any case? I take it I don't want to give 666 perms to
the socket ...
Sorry for my ignorance ...
Rich