I would like to configure other applications to use the Zimbra MTA at /opt/zimbra/postfix/sbin/sendmail. A good example would be a program on the local system that cannot use SMTP to send mail but instead calls a MTA explicitly, like mutt or mailing list software. Currently, if I try and call /opt/zimbra/postfix/sbin/sendmail as a regular user I get this error
lee@mugen:/opt/zimbra/postfix$ echo " boo ya" | /opt/zimbra/postfix/sbin/sendmail -oi -f lee@zimbra.domain
postdrop: warning: mail_queue_enter: create file maildrop/448073.9909: Permission denied
Which is probably related to the permissions of this file
lee@mugen:/opt/zimbra/postfix$ ls -ld spool/maildrop/
drwx--x---  2 postfix postdrop 4096 2006-02-20 00:39 spool/maildrop/
so...I'm not really sure how to deliver mail on this system from a local program. Comparing the same file to my existing mail system, also running Debian stable and postfix (though not Zimbra's compile) the maildrop dir has drasticaly different permissions
lee@ash:~$ ls -ld /var/spool/postfix/maildrop/
drwx-wx--T  2 postfix postdrop 4096 Feb 20 22:49 /var/spool/postfix/maildrop/
How does Zimbra pass off mail to postfix differently than a user in a shell would?