[Dovecot] deliver LDA permission problem
Dick Middleton
dick at fouter.net
Thu Feb 8 13:53:05 UTC 2007
Hello,
I'm trying to get deliver LDA working with postfix in a virtual domain
configuration.
I'm using dovecot v1.0.rc10. My setup is pretty much exactly as in the wiki
(only the path to deliver and auth-master socket are different).
I'm having a little problem with permissions and this occurred which I think is
undesirable:
syslog:
Feb 8 13:09:35 deliver(<email-addr>): setgid(5002) failed: Operation not permitted
Feb 8 13:09:36 deliver(<email-addr>): setgid(5001) failed: Operation not permitted
mail.log:
Feb 8 13:09:36 Devil postfix/pipe[9622]: 5AD5C103C: to=<<email-addr>>,
orig_to=<<email-addr>>, relay=dovecot, delay=0.05, delays=0.01/0/0/0.04,
dsn=5.3.0, status=bounced (Command died with status 89:
\"/usr/libexec/dovecot/deliver\")
When deliver fails because it can't connect to auth-master socket it returns an
undeliverable status which causes postfix to defer delivery. I think it should
do the same here.
The real question is how I give deliver the permission to do the setgid? Is it
enough to just add user vmail to each of the virtual user groups in /etc/group.
Does deliver setuid to virtual user as well?
Dick
More information about the dovecot
mailing list