Results 1 to 7 of 7

Thread: Multi-server and Logwatch

Hybrid View

  1. #1
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,322
    Rep Power
    13

    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 ?

  2. #2
    Join Date
    Mar 2006
    Posts
    86
    Rep Power
    9

    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.

  3. #3
    Join Date
    Jul 2006
    Location
    New York, NY
    Posts
    122
    Rep Power
    9

    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

  4. #4
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,322
    Rep Power
    13

    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 ?

  5. #5
    Join Date
    Jul 2006
    Location
    New York, NY
    Posts
    122
    Rep Power
    9

    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.

  6. #6
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,322
    Rep Power
    13

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •