|- This article is NOT official Zimbra documentation. It is a user contribution and may include unsupported customizations, references, suggestions, or information.|
Enabling System E-Mail
Enabling the sendmail command
If you've noticed that after installing ZCS, system email (mail from root, cron jobs, etc) no longer functions, you may need to point your system binaries to the binaries included with ZCS. For RHEL and SuSE systems, the following process has been tested (by me at least) and has worked with no issues.
[root@zimbra5018 ~]# mv /usr/sbin/sendmail /usr/sbin/sendmail.old [root@zimbra5018 ~]# ln -s /opt/zimbra/postfix/sbin/sendmail /usr/sbin/sendmail
NOTE: The first command mail fail if the sendmail package is not installed. This just means there is no sendmail binary to backup. Putting the link there should still enable system mail to begin flowing.
Enabling the mailq command
Similar to above, you may also want to view the mailq as users other than zimbra. You can do this as well:
[root@zimbra5018 ~]# mv /usr/sbin/mailq /usr/sbin/mailq .old [root@zcs1 ~]# ln -s /opt/zimbra/postfix/sbin/mailq /usr/sbin/mailq
NOTE: Again, the mv command may fail if the sendmail package is not installed. This is not a problem.