about summary refs log tree commit homepage
path: root/script/public-inbox-mda
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-05-14 03:02:42 +0000
committerEric Wong <e@80x24.org>2016-05-14 03:02:42 +0000
commitf850effe0baef8a37ad2eef3ef581b79539cc304 (patch)
treea48cd68e39795771c280b2cf8ecdf8e1595a0264 /script/public-inbox-mda
parent9bfe40e7a4ace33fe3bd31e8589703fa5ef53d2a (diff)
downloadpublic-inbox-f850effe0baef8a37ad2eef3ef581b79539cc304.tar.gz
A public-inbox is NOT necessarily a mailing list, but it
could serve as an input point for zero, one, or infinite
mailing lists :D
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