Chapter 16. Overview of Lire scripts

An overview of the main scripts involved. lr_spoold is the engine behind a Lire Online Responder. lr_log2report is the main Lire command line interface. The lr_log2xml command is a helper scripts. The lr_xml2report command can be used by the user to merge XML reports. The lr_sql2report is not yet fully integrated in the Lire system. The lr_rawmail2mail command manages a Lire client setup. The lr_cron is fired of by cron, in a cron-driven setup.

 lr_spoold
 |
 \_ lr_check_service
 \_ lr_spool
    |
    \_ lr_processmail
       \_ lr_getbody
       |
       \_ lr_log2mail
          |
          \_ lr_inflate
          \_ lr_log2xml
          |
          \_ lr_xml2mail
          |  \_ lr_xml2report
          |  \_ lr_mail
          |
          \_ lr_archive_log

 lr_log2report
 \_ lr_inflate
 \_ lr_log2xml
 \_ lr_xml2report

 lr_log2xml
 \_ <LR_SERVICE>2dlf
 \_ lr_dlf2xml
 \_ (lr_dlf2sql)

 lr_xml2report
 \_ lr_xml_merge
 \_ lr_xml2<OUTPUTFORMAT>

 lr_sql2report
 \_ lr_sql2dlf
 \_ lr_dlf2xml
 \_ lr_xml2report

 lr_rawmail2mail
 \_ lr_getbody
 \_ lr_deanonymize
 \_ lr_xml2mail

 lr_cron
 \_ lr_log2mail


         
lr_spoold monitors a Maildir spool for each responder address. lr_processmail processes an email message with a compressed log file attached. Refer to the manpages for the gory details.