Tripwire's emailto option is not working for me. In the policy file for each rules section I have:
( rulename = "Tripwire Data Files", severity = $(SIG_HI), emailto = "myname@mydomain.com" ) the program is being called with: tripwire --check --email-report After several tries, I added (to the @@global section of my policy) emailto = "myname@mydomain.com" to no avail. Redhat Linux 7.1 - Tripwire 2.3.0.50 Thanks! |
Just to add, the tripwire --test option handled email w/o problems.
|
Did you ever get this problem solved? I have worked on the same problem for some time and have not solved the problem with it not recognizing emailto lines in the policy file. When I look at the screen output, it always says "No email recipients specified, no email sent." even though they are there.
I did find a workaround solution. I put the following line in the twcfg.txt file: GLOBALEMAIL = user@domain.com and now emails get sent to "user@domain.com. This doesn't allow sending individual emails per each rule but at least I am getting one email sent. If you have suceeded in fixing the problem, please let me know how you solved it. Thanks |
Yes, there is a way for this to work by entering the command:
tripwire --check --email-report This should email the report to the designated recipient in the policy file I had your same problem and could not figure out why the recipient was not getting the reports when I would just enter the command: tripwire --check |
Also - you have to make sure that sendmail is up and working if that is what you have in your configuration file for MAILMETHOD.
|
All times are GMT -5. The time now is 04:01 AM. |