Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-18-2006, 07:21 PM
|
#1
|
Member
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Linux Mint - Tara
Posts: 497
Rep:
|
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.
|
|
|
03-18-2006, 10:29 PM
|
#2
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep: 
|
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).
|
|
|
03-18-2006, 11:28 PM
|
#3
|
Member
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Linux Mint - Tara
Posts: 497
Original Poster
Rep:
|
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
|
|
|
03-18-2006, 11:34 PM
|
#4
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep: 
|
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...
|
|
|
03-19-2006, 01:52 AM
|
#5
|
Member
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Linux Mint - Tara
Posts: 497
Original Poster
Rep:
|
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
|
|
|
03-19-2006, 02:08 AM
|
#6
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290
|
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.
|
|
|
All times are GMT -5. The time now is 01:26 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|