Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

logwatch output mail not getting via cron

Discussion in 'E-mail Discussion' started by moinkhan31, Sep 30, 2009.

  1. moinkhan31

    moinkhan31 Member

    Joined:
    May 18, 2007
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    151
    Hello,

    We have configured logwatch and its run well but when set cron it didnt get mail on my mail address, getting following error in exim logs.
    =======================================================

    2009-09-30 13:12:15 [27516] 1Mt2it-00079o-53 <= root@hostname.com U=root P=local S=911 T="Cron <root@server1> /usr/share/logwatch/scripts/logwatch.pl --range today --detail 10 --mailto integ" from <root@hostname> for root
    2009-09-30 13:12:15 [27539] cwd=/var/spool/exim 4 args: /usr/sbin/exim -odi -Mc 1Mt2it-00079o-53
    2009-09-30 13:12:15 [27539] 1Mt2it-00079o-53 User 0 set for local_delivery transport is on the never_users list
    2009-09-30 13:12:15 [27539] 1Mt2it-00079o-53 == root@hostname.com R=localuser T=local_delivery defer (-29): User 0 set for local_delivery transport is on the never_users list
    =======================================================

    Here we have set "hostname.com" instead of our serverhostname in above logs

    Crontab:-
    =======================================================
    */3 * * * * /usr/share/logwatch/scripts/logwatch.pl --range today --detail 10 --mailto "my email address"
    =======================================================

    Some one explain why this issue, how to set this
     
  2. moinkhan31

    moinkhan31 Member

    Joined:
    May 18, 2007
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    151
    Hello,

    No one can able reply my question?
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,170
    Likes Received:
    370
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Might this be the problem?

    These are set in the logwatch config, not the cron.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice