Re: [Rkhunter-users] RKH 1.3.0, Send logfile as attachment (on warnings)

2007-10-15 Thread Brian McKee
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11-Oct-07, at 7:55 AM, John Horne wrote: On Thu, 2007-10-11 at 12:42 +0200, Sven Söhnel wrote: As I'm not so big in Linux: is there anyway to append the logfile created by RKH to the generated mail? Hello, Your subject line mentions

Re: [Rkhunter-users] RKH 1.3.0, Send logfile as attachment (on warnings)

2007-10-15 Thread Sven Söhnel
If for some reason it *must* be an attachment - 'mutt' will send files as attachments and handle encoding properly etc from a commandline, but inline would certainly be cleaner and easier... Brian Inline is the better way of course. But: How could I implement this? Any suggestions? Thanks

Re: [Rkhunter-users] RKH 1.3.0, Send logfile as attachment (on warnings)

2007-10-11 Thread John Horne
On Thu, 2007-10-11 at 12:42 +0200, Sven Söhnel wrote: I use the following script by cron.daily: -- #!/bin/sh ( date; /usr/local/bin/rkhunter --check --sk --nocolors --update --pkgmgr RPM --versioncheck echo ) \ | /bin/mail -s Rkhunter daily run on `uname -n`