--- /dev/null
+#!/bin/sh
+rm -rf test-src test-repo.git /tmp/postal-test
+cp -ar in test-src
+
+ikiwiki-makerepo git test-src test-repo.git
+ikiwiki --rebuild --setup test.setup
+perl ../filters/postal-accept.pl -c test.setup < test1.eml
+perl ../filters/postal-accept.pl -c test.setup < test2.eml
+perl ../filters/postal-accept.pl -c test.setup < test3.eml
+ikiwiki --setup test.setup --refresh
adminemail => 'me@example.org',
# Be sure to customise these..
- srcdir => "in",
- destdir => "/tmp/postaltest-wiki",
+ srcdir => "test-src",
+ destdir => "/tmp/postal-test",
url => "file:///tmp/postaltest-wiki/",
#cgiurl => "http://example.org/wiki/ikiwiki.cgi",
# For use with the attachment plugin, a program that returns
# nonzero if its standard input contains an virus.
#virus_checker => "clamdscan -",
- postal_prefix=>"user-testwiki-",
+ postal_prefix=>"auser-testwiki-",
postal_host=>"we.love.spam.com"
}