about summary refs log tree commit homepage
path: root/script
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-06-15 00:14:26 +0000
committerEric Wong <e@80x24.org>2016-06-15 00:15:11 +0000
commit41aa4756879765d0c6d4d6e8754e0037b1a56fcc (patch)
tree7ef88a0a13a823858dcadc63a34f725c07d3781d /script
parent2646bc205fc04936801bd66e588ea340697a6fa8 (diff)
downloadpublic-inbox-41aa4756879765d0c6d4d6e8754e0037b1a56fcc.tar.gz
Email::Filter doesn't offer any functionality we need, here;
and our dependency on Email::Filter will gradually be removed
since it (and Email::LocalDelivery) seem abandoned and we
can have more-fine-grained control by rolling our own Maildir
delivery which can work transactionally.
Diffstat (limited to 'script')
-rwxr-xr-xscript/public-inbox-mda2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/public-inbox-mda b/script/public-inbox-mda
index 84219ac3..ff2835da 100755
--- a/script/public-inbox-mda
+++ b/script/public-inbox-mda
@@ -34,7 +34,7 @@ defined $dst or exit(1);
 my $main_repo = $dst->{mainrepo} or exit(1);
 my $filtered; # string dest
 
-if (PublicInbox::MDA->precheck($filter, $dst->{address}) &&
+if (PublicInbox::MDA->precheck($filter->simple, $dst->{address}) &&
     do_spamc($filter->simple, \$filtered)) {
         # update our message with SA headers (in case our filter rejects it)
         my $msg = Email::MIME->new(\$filtered);