aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2014-11-21 11:02:46 -0500
committerBrian Cully <bjc@kublai.com>2014-11-23 14:19:29 -0500
commitcacbab512d4102e6db19c6487c4d291006dd0fda (patch)
treebc0e623db6b94384c9305529311148712786426c /config
downloadspamcat-cacbab512d4102e6db19c6487c4d291006dd0fda.tar.gz
spamcat-cacbab512d4102e6db19c6487c4d291006dd0fda.zip
Initial commit.
Diffstat (limited to 'config')
-rw-r--r--config/create-tables.sql7
-rw-r--r--config/spamcat.conf4
2 files changed, 11 insertions, 0 deletions
diff --git a/config/create-tables.sql b/config/create-tables.sql
new file mode 100644
index 0000000..9f6d93a
--- /dev/null
+++ b/config/create-tables.sql
@@ -0,0 +1,7 @@
+DROP TABLE IF EXISTS emails;
+CREATE TABLE emails (
+ sender TEXT NOT NULL PRIMARY KEY,
+ count INTEGER DEFAULT 20,
+ created TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
+ modified TIMESTAMP DEFAULT CURRENT_TIMESTAMP
+);
diff --git a/config/spamcat.conf b/config/spamcat.conf
new file mode 100644
index 0000000..1f1313d
--- /dev/null
+++ b/config/spamcat.conf
@@ -0,0 +1,4 @@
+DBPATH=/var/vmail/spork.org/bjc/spamcat.sqlite3
+DEFAULT_COUNT=20
+DELIVER=/usr/local/libexec/dovecot/deliver
+DOMAINS=bjc.spork.org \ No newline at end of file