User Tools

Site Tools


ubuntu:tripwire:set_up_email_notifications

Ubuntu - Tripwire - Set Up Email Notifications

vi /etc/tripwire/twcfg.txt

and set the following fields

/etc/tripwire/twcfg.txt
MAILNOVIOLATIONS =true
EMAILREPORTLEVEL =3
REPORTLEVEL   =3
SYSLOGREPORTING =true
MAILMETHOD    =SMTP
SMTPHOST      =192.168.1.2
;SMTPHOST      =mail.sharewiz.net
SMTPPORT      =25

Another method

Use the mail command to mail Tripwire notifications to an email address. Install the files:

sudo apt-get install mailutils

Test a tripwire report. This report will have warnings and changes too, since we just installed new software without telling tripwire:

sudo tripwire --check | mail -s "Tripwire report for `uname -n`" your_email@domain.com

Setup a cron job to call this regularly if required.

ubuntu/tripwire/set_up_email_notifications.txt · Last modified: 2020/07/15 09:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki