Mail Server fixed IP address needed for Sendmail and Tripwire
Linux - SecurityThis 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.
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.
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.
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).
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.
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...
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.