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 02-04-2007, 12:50 AM
Moderator
 
Posts: 2,207
Default Multi-server and Logwatch

Hello all.

We have a two RHEL servers setup, one MTA/LDAP and one MailStore/Logger but we can do not receive any of the nightly mails to admin.

Sendmail is obviously disabled on the MTA.
It was not disabled on the other server, we had no mail.
Tried to disable it (just in case it was causing problems), still no mail (but message in the /var/log/maillog changed in a way that let me think I should re-enable it).

What should be the "correct" setup to get our nightly mails ?
Reply With Quote
  #2 (permalink)  
Old 02-04-2007, 07:56 AM
Loyal Member
 
Posts: 86
Default

I know we had to change the crontab entries for some of the jobs because it was pointing to /bin/mail which hadn't been configured properrly to send mail to Zimbra.
Reply With Quote
  #3 (permalink)  
Old 02-05-2007, 11:12 AM
Special Member
 
Posts: 121
Default

I have a similar problem that I currently plowing through. One of the first things you need to check though is if your using mail/sendmail in the logwatch reports as logwatch will not be setup to use the postfix configuration that Zimbra installs.

Or you can make a backup of /usr/sbin/sendmail and link a new /usr/sbin/sendmail to /opt/zimbra/postfix/sbin/sendmail
Reply With Quote
  #4 (permalink)  
Old 02-09-2007, 04:05 AM
Moderator
 
Posts: 2,207
Default

We've "fixed" the problem on the MailStore server (currently with crontab change but we might change this to symlink).

But we're having now the brother-problem as we're getting only the "short" mail (number of message and most active users) : the subject of the mail is "Daily mail report from ... to ..."

We're not getting any LogWatch mail.
Any idea arround this ?
Reply With Quote
  #5 (permalink)  
Old 02-09-2007, 07:50 AM
Special Member
 
Posts: 121
Default

How do you have logwatch configured? and what OS are you using? I know on Fedora 5 logwatch was already installed and its default settings make it use sendmail

" mailer = "sendmail -t" "

On Ubuntu 6.06 Server, I had to install logwatch, and its default is set to:

Detail = Med
mailer = /usr/bin/mail
TmpDir = /tmp

If your daily mail reports work correctly then you should be able to have logwatch use the sendmail that Zimbra installs.
Reply With Quote
  #6 (permalink)  
Old 02-09-2007, 08:02 AM
Moderator
 
Posts: 2,207
Default

The problem might be on the webstore, in the sendmail alias table : it does not know that mails to root@localhost should go to admin@domain.tld.

More info on this very soon.
Reply With Quote
  #7 (permalink)  
Old 02-20-2007, 06:15 AM
Special Member
 
Posts: 137
Default

Addition to klug descrption.
The 2 zimbra servers are in addition of an existing postfix server.
We use the split domain tip to make ti works.

Postfix handles all incoming external e-mail. E-mails for zimbra
users are redirected to zimbra server.

What we discovered :
Send mail aliases are not the main cause of the problem.
In fact, when sendmail is used to send logwatch on the store/logger zimbra server, the mail is not delivered locally, but sendmail use dns MX record, so the logwatch mail is sent to our old postfix server, that have no account for admin@myzimbraserver.

How do i setup sendmail on the store/logger server to deliver e-mails locally and no to follow the Mx records ???
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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.