Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]: Sending daily tripwire reports via mail (exim)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
NautilusIII
Apprentice
Apprentice


Joined: 23 Nov 2003
Posts: 162

PostPosted: Thu Sep 23, 2004 12:33 pm    Post subject: [SOLVED]: Sending daily tripwire reports via mail (exim) Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20583

PostPosted: Thu Sep 23, 2004 5:21 pm    Post subject: Reply with quote

Moved from Other Things Gentoo.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
NautilusIII
Apprentice
Apprentice


Joined: 23 Nov 2003
Posts: 162

PostPosted: Thu Sep 23, 2004 6:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
dj_goku
Tux's lil' helper
Tux's lil' helper


Joined: 29 Mar 2003
Posts: 78
Location: Earth

PostPosted: Thu Sep 30, 2004 4:27 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum