diff options
author | Eric Wong <e@80x24.org> | 2014-04-19 23:11:00 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2014-04-19 23:11:00 +0000 |
commit | 4024aae69fe08c0aa14a69a12d55ca2b7dd4a4ab (patch) | |
tree | 5d981b2983ef9e5a9fd09047b6812528575144b1 /public-inbox-mda | |
parent | 6a414a4087a59ad8c62cbef30984632ea31ced23 (diff) | |
download | public-inbox-4024aae69fe08c0aa14a69a12d55ca2b7dd4a4ab.tar.gz |
We will be combining common code between -learn and -mda
Diffstat (limited to 'public-inbox-mda')
-rwxr-xr-x | public-inbox-mda | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public-inbox-mda b/public-inbox-mda index 1f4d339f..dd3dac80 100755 --- a/public-inbox-mda +++ b/public-inbox-mda @@ -12,7 +12,7 @@ use Encode::MIME::Header; use File::Path::Expand qw/expand_filename/; use IPC::Run qw(run); use constant MDA => 'ssoma-mda'; -use PublicInbox; +use PublicInbox::MDA; use PublicInbox::Filter; use PublicInbox::Config; @@ -33,7 +33,7 @@ defined $dst or exit(1); my $main_repo = $dst->{mainrepo} or exit(1); my $filtered; # string dest -if (PublicInbox->precheck($filter, $recipient) && +if (PublicInbox::MDA->precheck($filter, $recipient) && do_spamc($filter->simple, \$filtered)) { # update our message with SA headers (in case our filter rejects it) my $simple = Email::Simple->new($filtered); |