-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, 27 Feb 2015, Wöltje, Marcus wrote:
I'm trying to run Postix and Dovecot on a Mac OS X, but somehow, it doesn't
work. I probably messed up the privileges or something else. Hopefully someone
of you, can help me figure it out.
So far, Postfix is delivering the mail into ~/Maildir. But as soon as I add the
line:
mailbox_command =
/Applications/Server.app/Contents/ServerRoot/usr/libexec/dovecot/dovecot-lda
in /etc/postfix/main.cf
I get the following entry in the mail.log.
Feb 27 16:08:02 Nils-iMac.local local[53237]: fatal: execvp
/Applications/Server.app/Contents/ServerRoot/usr/libexec/dovecot/dovecot-lda:
Permission denied
Feb 27 16:08:02 Nils-iMac.local postfix/local[53236]: B246837BE40:
to=<[email protected]>, orig_to=<marc@localhost>, relay=local, delay=1185,
delays=1185/0.01/0/0.01, dsn=4.3.0, status=deferred (temporary failure. Command output:
local: fatal: execvp
/Applications/Server.app/Contents/ServerRoot/usr/libexec/dovecot/dovecot-lda: Permission
denied )
Here are the rights of dovecot-lda:
-rwxrwx--- 1 root certusers 32144 Dec 5 04:41
/Applications/Server.app/Contents/ServerRoot/usr/libexec/dovecot/dovecot-lda
^^^^^^^^^^
Only root and users in group certusers may exec the program, as what user
postfix tries to run the LDA?
Maybe check any directory in path as well.
- --
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEVAwUBVPQqm3z1H7kL/d9rAQLpggf/bYcA4tPbo2lChmsuidjXGVp+li1mbQdI
enSgxD2dZP/im4Jk9djGH6uPMaPaCUwiRrjR9xIVtMkEv8o0XqgGn3ba4imjOt3t
YxZhEx8l8cQQYu/54ATZf8JgaqFhxGxdFGebd5JpR9P1U36y7ZUdH3ukJ+9Yzz9W
J2loRSj2+Lvqi6yE4Tcg7HLvdQlM3vycS/9l8pokd+uH3PtiOILHe8Q9wM61CHRv
pNlwK/GL8fyBCs8nr1AEd2nwrXx1h4B338lWqfGCTSLTxZoWsLMQCo51BCEITDWQ
pzIic7OS1gkxi0DMJ6bQOhoOgQleXu6CE8eBEeDvkKPqrrkEFHERBw==
=8Z7u
-----END PGP SIGNATURE-----