tree: 8e36e2bccc2d0283aaee2d1571cb684110de92c7 [path history] [tgz]
  1. README.md
  2. pom.xml
  3. src/
mail-archive/stats/README.md

Apache Sling Mail Archive Server Stats

This module is part of the Apache Sling project.

This is a work in progress stats module for the Sling mail archive server.

To demonstrate it, load some data and look at http://localhost:8080/content/mailarchiveserver/stats.html

The stats are based on who writes to which destinations, with the destinations being defined by an OrgMapper service. The current OrgMapper just generates a destination for mailing list addresses that it recognizes, and the domain names of other addresses.

Here's how you can load some data from the Sling dev archives, for example:

export BASE=“http://mail-archives.apache.org/mod_mbox” export SLING=“http://localhost:8080

for year in 2012 2013 do for month in 01 02 03 04 05 06 07 08 09 10 11 12 do F=${year}${month}.mbox SRC=$BASE/sling-dev/$F DEST=“$SLING/content/mailarchiveserver/import.mbox.html” echo “Importing $SRC to $DEST” curl -s $SRC | curl -u admin:admin -Fmboxfile=@- $DEST done done