about summary refs log tree commit homepage
path: root/script/public-inbox-mda
diff options
context:
space:
mode:
Diffstat (limited to 'script/public-inbox-mda')
-rwxr-xr-xscript/public-inbox-mda4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/public-inbox-mda b/script/public-inbox-mda
index 611e7c38..8e224a50 100755
--- a/script/public-inbox-mda
+++ b/script/public-inbox-mda
@@ -49,7 +49,7 @@ if (PublicInbox::MDA->precheck($filter, $dst->{address}) &&
         } elsif ($fcfg eq 'scrub') {
                 $filter_arg = undef; # the default for legacy versions
         } else {
-                warn "publicinbox.$dst->{listname}.filter=$fcfg invalid\n";
+                warn "publicinbox.$dst->{inbox}.filter=$fcfg invalid\n";
                 warn "must be either 'scrub' or 'reject' (the default)\n";
         }
 
@@ -65,7 +65,7 @@ if (PublicInbox::MDA->precheck($filter, $dst->{address}) &&
                         };
                         my $git = PublicInbox::Git->new($main_repo);
                         my $im = PublicInbox::Import->new($git,
-                                                $dst->{listname}, $recipient);
+                                                $dst->{inbox}, $recipient);
                         if (defined $im->add($msg)) {
                                 $im->done;
                                 $filter->ignore; # exits