diff options
author | Eric Wong <e@80x24.org> | 2016-06-15 00:14:26 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-06-15 00:15:11 +0000 |
commit | 41aa4756879765d0c6d4d6e8754e0037b1a56fcc (patch) | |
tree | 7ef88a0a13a823858dcadc63a34f725c07d3781d /script/public-inbox-mda | |
parent | 2646bc205fc04936801bd66e588ea340697a6fa8 (diff) | |
download | public-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/public-inbox-mda')
-rwxr-xr-x | script/public-inbox-mda | 2 |
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); |