HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   How to change rkhunter daily monitoring email address (http://www.howtoforge.com/forums/showthread.php?t=60350)

msp 28th January 2013 11:12

How to change rkhunter daily monitoring email address
 
Hi

I am currently receiving daily emails (from: root, to: root) about rkhunter.

How can I change the delivery address for these emails?

For reference, the emails say:

Code:

From root@myserver.com  Fri May  4 06:28:43 2012
Return-Path: <root@myserver.com>
X-Original-To: root@myserver.com
Delivered-To: root@myserver.com
X-Virus-Scanned: Debian amavisd-new at myserver.com
Subject: [rkhunter] myserver.com - Daily report
To: root@myserver.com
Date: Fri,  4 May 2012 06:28:27 +0100 (BST)
From: root@myserver.com (root)
Status: RO

Warning: The file '/usr/bin/GET' exists on the system, but it is not present in the rkhunter.dat file.
Warning: The file '/usr/bin/lwp-request' exists on the system, but it is not present in the rkhunter.dat file.
Warning: The file '/usr/sbin/inetd' exists on the system, but it is not present in the rkhunter.dat file.
Warning: No output found from the lsmod command or the /proc/modules file:
        /proc/modules output:
        lsmod output:
Warning: The SSH and rkhunter configuration options should be the same:
        SSH configuration option 'PermitRootLogin': yes
        Rkhunter configuration option 'ALLOW_SSH_ROOT_USER': no
Warning: Hidden directory found: /dev/.udev

One or more warnings have been found while checking the system.
Please check the log file (/var/log/rkhunter.log)


edge 28th January 2013 11:46

You can set it in rkhunter.conf under "MAIL-ON-WARNING = your@email.address"

It should be in /etc

lamarus 30th May 2013 15:31

I have done this ... however it still sends to root@my.server.com even thought I have that set to admin@example.com. PLEASE HELP!


All times are GMT +2. The time now is 14:52.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.