Next Previous Contents

6. Configuring Security Alerts

6.1 Which kernel configuration options do I need to select in order to send security alerts through the network?

[*]   Send security alerts through network
[ ]      Hide klids kernel thread
(3)      Number of connection tries before giving up
(30)     Sleep time after a failed connection
(16)     Message queue size
[*]      Use generic mailer pseudo-script

The first option enables the use of security alerts. The second option allows you to hide the process that sends the alerts. Until you have your mail notification working, it is recommended that you leave this option disabled because it will also prevents error messages from being logged. The last option tells LIDS to use the generic mailer script provided with LIDS to send any alert messages to your mail server. This is currently the only option.

6.2 Where do I specify the mail server information and e-mail address to send the LIDS alerts to?

All information required for sending security alerts must be configured in the /etc/lids/lids.net file. A description of each option is provided in the configuration file itself. When specifying an e-mail address, be sure not to leave any leading or trailing spaces around the e-mail address. This may cause problems with delivery. For example, the following two MAIL_TO examples won't work:

"MAIL_TO= steve@clublinux.org"
"MAIL_TO=steve@clublinux.org "

NOTE: The double quotes are used only to show you the trailing space. They should not be included in your configuration.

After making changes to the /etc/lids/lids.net file, you must tell LIDS to reload it's configuration files.

6.3 LIDS can't seem to deliver alerts to my qmail SMTP server. Is there a fix for this?

Yes. For LIDS versions 0.9.12 and older, a patch is required in order to make LIDS e-mail alerts work with a qmail SMTP mail server. The patch can be found here: http://www.egroups.com/message/lids/1896.


Next Previous Contents