Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jul 2005
    Posts
    609

    Default How can I get rootkit hunter to email me the results?

    I am trying to secure my cpanel server.

    How can I get rootkit hunter to email me the results?

    I tried
    MAILTO=me@mydomain
    0 0 * * * /root/rkhunter-1.3.2/files/rkhunter --cronjob
    and
    MAILTO=me@mydomain 0 0 * * * /root/rkhunter-1.3.2/files/rkhunter --cronjob

    But it is not sending the email, nothing even show up in my exim_mainlog.

    Thanks in advance.

  2. #2
    Member
    Join Date
    Aug 2007
    Location
    Orlando
    Posts
    12

    Default

    Mine works with
    MAILTO=root


    but RKH has a place for this in the config file and it works
    Code:
    #
    # Email a message to this address if a warning is found when the
    # system is being checked. Multiple addresses may be specified
    # simply be separating them with a space. Setting this option to
    # null disables the option.
    #
    # NOTE: This option should be present in the configuration file.
    #
    #MAIL-ON-WARNING=me@mydomain   root@mydomain
    MAIL-ON-WARNING=""
    
    #
    # Specify the mail command to use if MAIL-ON-WARNING is set.
    # NOTE: Double quotes are not required around the command, but
    # are required around the subject line if it contains spaces.
    #
    MAIL_CMD=mail -s "[rkhunter] Warnings found for ${HOST_NAME}"

Similar Threads & Tags
Similar threads

  1. RootKit Hunter Scan
    By GaryT in forum Security
    Replies: 6
    Last Post: 12-11-2010, 01:58 PM
  2. rootkit hunter
    By Sheldon in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-14-2010, 10:20 AM
  3. Rootkit Hunter Question
    By mickalo in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 01-13-2007, 04:49 PM
  4. Rootkit Hunter 1.2.8 update Problem
    By edumadma in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 09-03-2006, 04:05 PM
  5. Rootkit Hunter 1.1.5
    By eazistore in forum cPanel Developers
    Replies: 26
    Last Post: 07-06-2005, 02:33 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube