Difference between revisions of "Tonster-SystemMail-Notes"

m (Adding category)
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:
 
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.
 
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.
  
[code]
+
[root@zimbra5018 ~]# mv /usr/sbin/sendmail /usr/sbin/sendmail.old<br>
[root@zimbra5018 ~]# mv /usr/sbin/sendmail /usr/sbin/sendmail.old
+
[root@zimbra5018 ~]# ln -s /opt/zimbra/postfix/sbin/sendmail /usr/sbin/sendmail<br>
[root@zimbra5018 ~]# ln -s /opt/zimbra/postfix/sbin/sendmail /usr/sbin/sendmail
 
[/code]
 
  
 
NOTE: The first command will 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.  Note that it is preferred not to have the system sendmail installed, as otherwise the system sendmail package could be enabled or overwrite your link during system updates.
 
NOTE: The first command will 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.  Note that it is preferred not to have the system sendmail installed, as otherwise the system sendmail package could be enabled or overwrite your link during system updates.
Line 18: Line 16:
 
Similar to above, you may also want to view the mailq as users other than zimbra.  You can do this as well:
 
Similar to above, you may also want to view the mailq as users other than zimbra.  You can do this as well:
  
[code]
+
[root@zimbra5018 ~]# mv /usr/sbin/mailq /usr/sbin/mailq .old<br>
[root@zimbra5018 ~]# mv /usr/sbin/mailq /usr/sbin/mailq .old
+
[root@zcs1 ~]# ln -s /opt/zimbra/postfix/sbin/mailq /usr/sbin/mailq<br>
[root@zcs1 ~]# ln -s /opt/zimbra/postfix/sbin/mailq /usr/sbin/mailq
 
[/code]
 
  
 
NOTE: Again, the mv command may fail if the sendmail package is not installed.  This is not a problem.  Note that it is preferred not to have the system sendmail installed, as otherwise the system sendmail package could be enabled or overwrite your link during system updates.
 
NOTE: Again, the mv command may fail if the sendmail package is not installed.  This is not a problem.  Note that it is preferred not to have the system sendmail installed, as otherwise the system sendmail package could be enabled or overwrite your link during system updates.
 +
 +
 +
[[Category:Community Sandbox]]

Latest revision as of 23:06, 24 November 2009

Attention.png - 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 will 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. Note that it is preferred not to have the system sendmail installed, as otherwise the system sendmail package could be enabled or overwrite your link during system updates.

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. Note that it is preferred not to have the system sendmail installed, as otherwise the system sendmail package could be enabled or overwrite your link during system updates.

Jump to: navigation, search