LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-18-2006, 06:21 PM   #1
mazinoz
Member
 
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Linux Mint - Tara
Posts: 497

Rep: Reputation: 35
Question Mail Server fixed IP address needed for Sendmail and Tripwire


Is it possible to setup tripwire to send you an email if you don't have a mail server setup with a fixed IP address? Current setup is simply a squid proxy server with a home based LAN behind it. If I configure proxy server to fetchmail and then deliver it to me from gmail.com is this sufficient, or do I need a fully fledged mail server to setup tripwire. I haven't delved into configuring tripwire yet, just wondering if above is sufficient.
 
Old 03-18-2006, 09:29 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
You're going to need an MTA of some sort to send mail to a remote address. For tripwire, I think it's optional whether it's sendmail.

When you configure tripwire, you add the path to your mail program, along with any command line switches, to the cfg file. For example, MAILPROGRAM =/usr/sbin/sendmail -oi -t. In your policy file you set up the email command for each rule. For example, rulename = "Oracle", emailto = root@$(HOSTNAME).
 
Old 03-18-2006, 10:28 PM   #3
mazinoz
Member
 
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Linux Mint - Tara
Posts: 497

Original Poster
Rep: Reputation: 35
Thanks for the reply, I just didn't want to try to setup mail and tripwire if it would not be possible for it to send me an email to gmail.com telling me of problem as both appear to be a bit daunting. Can it be setup to do this or only send me a local network email telling me of a problem? As you have probably guessed I'm a beginner at both tasks and more than a bit confused about mail.

Cheers

Marilyn
 
Old 03-18-2006, 10:34 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Yep - the line would be changed to: rulename = "Oracle", emailto = user@gmail.com and if you were using sendmail, it would just fire it off to gmail.

I use sendmail now because I've been using it for ages and I'm not going to waste the time invested. If you're relatively new to mail administration, it's definitely worth using the forum search tool here to look for others...
 
Old 03-19-2006, 12:52 AM   #5
mazinoz
Member
 
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Linux Mint - Tara
Posts: 497

Original Poster
Rep: Reputation: 35
Thanks for the advice and reassurance, I will press ahead, and I will look at other mail programs less complex than sendmail and let you know how I go eventually.

Cheers
 
Old 03-19-2006, 01:08 AM   #6
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Most MTAs will allow you to simply relay outgoing mail through your ISP's mail server, which does have a static IP. In sendmail, for example, one would do it by setting the SMART_HOST configuration parameter to the hostname of the ISP's mail server, re-creating the cf file, and restarting sendmail.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using sendmail to relay mail to ISP mail server Swift&Smart Linux - Software 26 11-09-2008 03:00 PM
Force sendmail to send mail on an ip address sdave1284 Linux - Software 8 11-23-2005 11:26 PM
Wrong 'From' address on mail received from sendmail pioniere Linux - General 2 05-21-2004 03:41 PM
knowing a mail server address juanb Linux - General 1 02-06-2003 07:04 AM
how can I use sendmail to e-mail with an existing e-mail address? vofkid Linux - Newbie 0 03-14-2002 08:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration