~ubuntu-branches/ubuntu/maverick/opendkim/maverick

« back to all changes in this revision

Viewing changes to stats/mkdb.mysql

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-08-11 04:01:22 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100811040122-ai6d30m3j43nwh1y
Tags: 2.1.3+dfsg-0ubuntu1
* New upstream release
  - Repacked tarball to remove non-free IETF drafts and RFCs
  - Updated Makefile.in/am to not try to install no longer exisitng files
  - Rename libopendkim1 to libopendkim2 to match upstream soname bump
  - Bump libopendkim-dev build-depends to libopendkim2
  - Update debian/rules
  - Rename libopendkim1.docs and .install

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
-- $Id: mkdb.mysql,v 1.2 2010/05/20 18:39:10 cm-msk Exp $
 
2
 
 
3
-- MySQL command sequence to create a database to accumulate OpenDKIM
 
4
-- statistics reports
 
5
 
 
6
create table opendkim_statistics (
 
7
        id int unsigned not null auto_increment,
 
8
                primary key(id),
 
9
        jobid varchar(255) not null,
 
10
                key(jobid),
 
11
        from_domain varchar(255) not null,
 
12
                key(from_domain),
 
13
        ipaddr varchar(255) not null,
 
14
                key(ipaddr),
 
15
        msgtime timestamp not null,
 
16
        algorithm int unsigned not null,
 
17
        hdr_canon int unsigned not null,
 
18
        body_canon int unsigned not null,
 
19
        sigs_total int unsigned not null,
 
20
        sigs_pass int unsigned not null,
 
21
        sigs_fail int unsigned not null,
 
22
        sigs_fail_body int unsigned not null,
 
23
        extended int unsigned not null,
 
24
        key_t int unsigned not null,
 
25
        key_g int unsigned not null,
 
26
        key_syntax int unsigned not null,
 
27
        key_nx int unsigned not null,
 
28
        sig_t int unsigned not null,
 
29
        sig_t_future int unsigned not null,
 
30
        sig_x int unsigned not null,
 
31
        sig_l int unsigned not null,
 
32
        sig_z int unsigned not null,
 
33
        adsp int unsigned not null,
 
34
        adsp_fail int unsigned not null,
 
35
        adsp_discardable int unsigned not null,
 
36
        author_sigs int unsigned not null,
 
37
        author_sigs_fail int unsigned not null,
 
38
        tp_sigs int unsigned not null,
 
39
        tp_sigs_fail int unsigned not null,
 
40
        mailing_list int unsigned not null
 
41
) default charset=latin1;