aboutsummaryrefslogtreecommitdiffstats
path: root/t/fixtures
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2022-06-19 19:55:38 -0400
committerBrian Cully <bjc@kublai.com>2022-06-19 19:56:37 -0400
commitf2820a509d91061b65fa32ec4e647cbd29760195 (patch)
tree7685f169b96a6b279c910e0021ca38538a124f9b /t/fixtures
parente8235e7264e467f6dd64587fbd26faad2f74cbbc (diff)
downloadspamcat-f2820a509d91061b65fa32ec4e647cbd29760195.tar.gz
spamcat-f2820a509d91061b65fa32ec4e647cbd29760195.zip
Change to filter style from pipe.
Diffstat (limited to 't/fixtures')
-rw-r--r--t/fixtures/bar.expected15
-rw-r--r--t/fixtures/sample.conf2
2 files changed, 16 insertions, 1 deletions
diff --git a/t/fixtures/bar.expected b/t/fixtures/bar.expected
new file mode 100644
index 0000000..e554c65
--- /dev/null
+++ b/t/fixtures/bar.expected
@@ -0,0 +1,15 @@
+Return-Path: <test@mta.example.com>
+Delivered-To: spamcat@example.com
+Received: from mta.example.com
+ by mta.example.com (Dovecot) with LMTP id 9DDcI25oblTvgAEAQc1eRg
+ for <spamcat@example.com>; Thu, 20 Nov 2014 17:17:18 -0500
+Received: by mta.example.com (Postfix, from userid 1001)
+ id 844956F1EE; Thu, 20 Nov 2014 17:17:18 -0500 (EST)
+To: bar@spamcat.example.com
+Subject: test - [21/20]
+Message-Id: <bar@mta.example.com>
+Date: Thu, 20 Nov 2014 17:17:18 -0500 (EST)
+From: sender@example.com (Spamcat Sender)
+X-SpamCat-Remaining: 0
+
+Sample email.
diff --git a/t/fixtures/sample.conf b/t/fixtures/sample.conf
index e0d644b..ba3054d 100644
--- a/t/fixtures/sample.conf
+++ b/t/fixtures/sample.conf
@@ -2,5 +2,5 @@
DBPATH=/tmp/spamcat.sqlite3 # So should most whitespace and inline comments.
DEFAULT_COUNT =10 # Make sure key=val doesn't work in comments
-DELIVER= t/delivert # by saying DEFAULT_COUNT=8
+ # by saying DEFAULT_COUNT=8
DOMAINS = spamcat.example.com, spamcat2.example.com spamcat3