aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
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