Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    May 2007
    Posts
    12

    Default logwatch output mail not getting via cron

    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. #2
    Member
    Join Date
    May 2007
    Posts
    12

    Default

    Hello,

    No one can able reply my question?

  3. #3
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,893
    cPanel/Enkompass Access Level

    Root Administrator

    Question

    Might this be the problem?

    --range today --detail 10 --mailto "my email address
    These are set in the logwatch config, not the cron.
    Fav cPlinks this week: Blog - cPanel & WHM 11.32 we love it! | cPanel University study for it! | Attracta is coming! we want this!

Similar Threads & Tags
Similar threads

  1. Not receiving cron output emails
    By thewebhosting in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-14-2009, 09:58 PM
  2. logwatch output question
    By xml in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-19-2004, 12:44 PM
  3. LogWatch output help
    By sphost in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-07-2004, 01:15 PM
  4. Logwatch Output
    By kris1351 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-12-2004, 09:22 AM
  5. Cron output email is not junk (to me)
    By gmarton in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-18-2003, 07:25 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube