View previous topic :: View next topic |
Author |
Message |
NautilusIII Apprentice
Joined: 23 Nov 2003 Posts: 162
|
Posted: Thu Sep 23, 2004 12:33 pm Post subject: [SOLVED]: Sending daily tripwire reports via mail (exim) |
|
|
Hi,
I installed tripwire, a file integrity checker. Now I want the reports generated by tripwire to be sent to my mail address daily.
I am running an exim mailserver.
In a tutorial they do that with the following command within an shellscript which the invoce by crond then:
/usr/sbin/tripwire -m c | mail -s "Tripwire Report from serverxyz" mail@address.de
But on my machine there exists no command "mail".
So, does anyone know how to do this with exim installed as a MTA ?
Thanks.
Last edited by NautilusIII on Sun Sep 26, 2004 1:39 pm; edited 1 time in total |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20583
|
Posted: Thu Sep 23, 2004 5:21 pm Post subject: |
|
|
Moved from Other Things Gentoo. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
NautilusIII Apprentice
Joined: 23 Nov 2003 Posts: 162
|
Posted: Thu Sep 23, 2004 6:54 pm Post subject: |
|
|
Guys,
problem resolved:
Tripwire has a function for doing what I want.
The config file offers a parameter for specifying which mailer to sent (e.g. Exim's sendmail) and to whom to sent.
Thanks. |
|
Back to top |
|
|
dj_goku Tux's lil' helper
Joined: 29 Mar 2003 Posts: 78 Location: Earth
|
Posted: Thu Sep 30, 2004 4:27 am Post subject: |
|
|
Having troubles getting tripwire to configure. I have emerge tripwire. And get some errors like this:
Code: | # ./twinstall.sh
----------------------------------------------
The Tripwire site and local passphrases are used to
sign a variety of files, such as the configuration,
policy, and database files.
Passphrases should be at least 8 characters in length
and contain both letters and numbers.
See the Tripwire manual for more information.
----------------------------------------------
Creating key files...
chmod: cannot access `/etc/tripwire/site.key': No such file or directory
chmod: cannot access `/etc/tripwire/hostname-local.key': No such file or directory
----------------------------------------------
Signing configuration file...
chmod: cannot access `/etc/tripwire/tw.cfg': No such file or directory
A clear-text version of the Tripwire configuration file
/etc/tripwire/twcfg.txt
has been preserved for your inspection. It is recommended
that you delete this file manually after you have examined it.
----------------------------------------------
Signing policy file...
chmod: cannot access `/etc/tripwire/tw.pol': No such file or directory
A clear-text version of the Tripwire policy file
/etc/tripwire/twpol.txt
has been preserved for your inspection. This implements
a minimal policy, intended only to test essential
Tripwire functionality. You should edit the policy file
to describe your system, and then use twadmin to generate
a new signed copy of the Tripwire policy.
|
I haven't found much information on configuring other then changing some info for the hostname.
Thanks,
DG _________________ dj_goku | www.tektronic.org |
|
Back to top |
|
|
|