After installing Zimbra 5.0.x on my Debian Etch 4.0 server some of my shell scripts couldnæt send mail anymore. The reason to this behaviour was that I hadn’t removed the Exim mail server package, and I wouldnt do it either.
The solution to this problem was to remove exim or locate the sendmail binaries and remove the symlinks to exim as emailer client and create symlinks to Zimbra’s Postfix sendmail binary. I did the latter
# whereis sendmail sendmail: /usr/sbin/sendmail /usr/lib/sendmail # rm /usr/sbin/sendmail # ln -s /opt/zimbra/postfix-220.127.116.11z/sbin/sendmail sendmail # rm /usr/lib/sendmail # ln -s /opt/zimbra/postfix-18.104.22.168z/sbin/sendmail sendmail
Now my scripts can send e-mails as expected.