Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Jan 2004
    Posts
    134

    Default rkhunter and email

    I can't get rkhunter send emails after it make a system scan,
    I've put my email address (out of my server) in the config file, but rkhunter scans the system and ends without any error message, nor any email message.
    I've looked in messages and exim logs, but I can't find anything.

    Any help, please?

    Thanks

  2. #2
    Member sawbuck's Avatar
    Join Date
    Jan 2004
    Posts
    1,310
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    What parameters are you using to run it?

  3. #3
    Member
    Join Date
    Jan 2004
    Posts
    134

    Default rkhunter and email

    I use the next command

    rkhunter -c --quick --skip-keypress

    I-ve found this in /var/log/maillog
    Sep 10 17:25:57 servername cpanelpop[25167]: Connection from host=127.0.0.1 to ip=127.0.0.1
    Sep 10 17:25:57 servername cpanelpop[25167]: Session Closed host=127.0.0.1 ip=127.0.0.1 user=root realuser= totalxfer=57
    Sep 10 17:25:57 servername imapd[25176]: Logout user=??? domain=??? host=UNKNOWN

    I've installed the same program in another box with the same distro and mail program, and it sends the mail whn scan is finished

    thanks
    Last edited by latpanel; 09-10-2004 at 11:58 AM. Reason: Add data

  4. #4
    Member
    Join Date
    Jan 2004
    Posts
    134

    Default rkhunter mail ----> Fixed !!!

    Well, I think I was too impatient or I don't lnow how CPanel works !!!!

    Today I've see two email from rkhunter. One form cron.daily and one from my own crontab
    I've changed the way I use rkhunter to

    rkhunter -c --cronjob
    And walah: rkhunter sends mails!!

    (But in my other box rkhunter sends mails without the --cronjob option and without a mail pipe)


    I've found that rkhunter installed its cron in cron.daily

    ( By the way, how can I set the time when cpanel runs cron.daily? )


    Well, my problem is fixed and I hope that it help to other webmasters.

    Thanks
    Bye

  5. #5
    Member
    Join Date
    Jan 2004
    Posts
    252

    Default

    ( By the way, how can I set the time when cpanel runs cron.daily? )
    /etc/crontab
    Rack911.com - Competent Server Administration
    Server Security - Administration - Managed Servers - Optimization - High Traffic Clusters

  6. #6
    Member
    Join Date
    Jan 2004
    Posts
    134

    Default Thanks

    Oh!, I must be fool !!!
    Thanks

Similar Threads & Tags
Similar threads

  1. Rkhunter
    By jestin_virtual in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 10-30-2009, 02:59 PM
  2. RKHUNTER tell me this...
    By duranduran in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-20-2005, 04:58 AM
  3. Rkhunter Issues
    By maverick23 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-02-2005, 01:13 AM
  4. Rkhunter Issues
    By maverick23 in forum New User Questions
    Replies: 1
    Last Post: 06-01-2005, 01:18 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube