Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-15-2009, 06:14 AM
Starter Member
 
Posts: 2
Default [SOLVED] Crontab Mailto problem

I am running Zimbra OE 5.0x on Ubuntu 8.04. I am using a backup script from the Zimbra wiki. The script is being run using crontab as root. In the crontab, I have defined a email address with the the MAILTO: statement. I do not get any emails on that address. Attempting the mail command at the shell produces: The program 'mail' can be found in the following packages:
* mailx
* mailutils
Try: apt-get install <selected package>
bash: mail: command not found

This is expected behavior because from the quick installation docs:Important: You cannot have any other web server, database, LDAP, or MTA server running, when you install the Zimbra software. I'm guessing that zimbra mail is not "registered" so that crontab can see it. Any suggestions?
Reply With Quote
  #2 (permalink)  
Old 03-15-2009, 10:53 AM
Moderator
 
Posts: 7,928
Default

Welcome to the forums

Code:
apt-get install mailx
and if it does pull in another MTA then just stop it.
__________________
Reply With Quote
  #3 (permalink)  
Old 03-17-2009, 12:59 PM
Starter Member
 
Posts: 2
Default Added Exim

I added Exim4 and set it up to send system messages to smarthost Zimbra. I'm now getting the desired result. Thanks for your help.
Reply With Quote
  #4 (permalink)  
Old 03-17-2009, 10:57 PM
Active Member
 
Posts: 42
Default

Quote:
Originally Posted by rstegman View Post
I added Exim4 and set it up to send system messages to smarthost Zimbra. I'm now getting the desired result. Thanks for your help.
May I suggest using nullmailer instead of Exim4? Exim4 is a bit of a overkill for just sending email from a server to zimbra.

Nullmailer is easy on your resources ;-)
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.