John, ----- Original Message ----- From: "John Horne" <[EMAIL PROTECTED]> To: <rkhunter-users@lists.sourceforge.net> Sent: Monday, September 24, 2007 9:14 AM Subject: Re: [Rkhunter-users] Email warnings
> On Mon, 2007-09-24 at 08:52 -0500, Mike Blezien wrote: >> >> I noticed in the log file, this notice: >> >> Info: No mail-on-warning address configured >> >> But I have a email address set in the rkhunter.conf file: >> > The first bug :-( > > If you run 'rkhunter --check' the log file will be correct (that is, it > reports the MOW address). If you run 'rkhunter --update' or 'rkhunter > --versioncheck' on their own, then yes, the log file reports no > mail-on-warning address despite one being configured. The MOW address > won't be used in this case. > > A possible workaround when using --update/--versioncheck is to check the > return code instead. It will be non-zero if something has occurred - the > README has more details about the return code. thanks for the info. Actually I reconfigured our cron and piped results to mail. we'll probably get some duplicate email on occassions, but that's kwel. Mike ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Rkhunter-users mailing list Rkhunter-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rkhunter-users