kbajwa kbajwa@tibonline.net wrote:
Since I posted this original messages, I have installed, re-installed Postfix-2.3.3, Dovecot-1.1.1 & Dovecot-Sieve-1.1.5 over and over & still got the "Permission Denied" error (see "/var/log/maillog" logs below).
Here what I found! If I add the following in "/etc/postfix/main.cf";
Mailbox_command = /usr/libexec/dovecot/deliver
Then the "Permission Denied" error appears and all mail is bounced back with error message.
If I remove this line, all emails are delivered fine. No error.
[...]
(2) what if I leave this line out? Would it cause problem with either Dovecot or Dovecot-Sieve?
Unlikely; not setting mailbox_command just means Postfix will use local(8) for mail delivery.
[...]
Jul 27 09:16:24 www postfix/local[5623]: E31DA41C0028: to=test@wildpeacockstudios.com, relay=local, delay=0.99, delays=0.74/0.03/0/0.22, dsn=5.3.5, status=bounced (local configuration error. Command output: Fatal: open(/etc/dovecot.conf) failed: Permission denied )
What are the permissions on /etc/dovecot.conf? The mailbox_command is run with the UID and the primary group GID of the recipient, so if the conf file is unreadable by that user/group, you see the error above.
[...]
-- Sahil Tandon sahil@tandon.net