added spam result detection support

This commit is contained in:
SJ
2012-01-26 14:35:51 +01:00
parent 57b0c1d650
commit a7df7986ae
9 changed files with 35 additions and 1 deletions

View File

@ -35,6 +35,7 @@ create table if not exists `metadata` (
`from` char(255) not null,
`fromdomain` char(48) not null,
`subject` text(512) default null,
`spam` tinyint(1) default 0,
`arrived` int not null,
`sent` int not null,
`deleted` tinyint(1) default 0,
@ -221,3 +222,8 @@ create table if not exists `audit` (
primary key (`id`)
) ENGINE=InnoDB;
create index `audit_idx` on `audit`(`email`);
create index `audit_idx2` on `audit`(`action`);
create index `audit_idx3` on `audit`(`ipaddr`);
create index `audit_idx4` on `audit`(`ts`);