The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

logwatch output mail not getting via cron

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

  1. moinkhan31

    moinkhan31 Member

    Joined:
    May 18, 2007
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    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:
    1
    Hello,

    No one can able reply my question?
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,448
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Might this be the problem?

    These are set in the logwatch config, not the cron.
     

Share This Page