Code Monkey home page Code Monkey logo

exisqlog's Introduction

Exim SQL Log and Search

Description:
The core of this is a script which parses the exim log files fed to it and puts
the extracted data into a mysql database.  There is also a simple web interface
which allows you to search for that data on a per day basis (it stores the data
in a one day per table format).  Also included is a maintenance script to age
data out of the database by removing tables older than a configurable number of
days.

Assumptions:
1) Database backend is mysql.  It shouldn't be too hard to convert to use your
   favorite database with perl-DBI support.
2) MySQL sample commands in the script are for mysql 5.0 and older.  The
   syntax for CREATE USER and GRANT has changed for mysql 5.1 and newer.
3) RBL hits are logged in exim.conf with:
      message = $sender_host_address is listed at $dnslist_domain

Credits:
One of the main features of this process is the included "logtail" program.  It
is a perl script which starts reading a logfile at the last place that it
stopped and automatically finds the new file when it gets rotated.  Big thanks
to Jonathan Middleton and Paul Slootman for the Logcheck package which provided
this script.

License:
Respective components are licensed as labeled (jquery is GPL/MIT, Logcheck is
GPL).
My contributions are GPL v2.  See included LICENSE file for more detail.


# vim: expandtab ts=4 tw=80

exisqlog's People

Stargazers

Jacques Marneweck avatar Jonathan Fretin avatar Phil Pennock avatar

Watchers

Todd Lyons avatar James Cloos avatar  avatar

Forkers

eignatov

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.