about summary refs log tree commit homepage
path: root/scripts
diff options
authorEric Wong <e@80x24.org>2015-01-11 11:03:41 +0000
committerEric Wong <e@80x24.org>2015-01-11 11:03:41 +0000
commit95ff0d818a8b3b52cf846fe93dcc12cefc2520c8 (patch)
treea10483010739883b71bed3589627461fe287d123 /scripts
parentea1d30b8e3aa1aa0d1441c0112c05bf5adc804d5 (diff)
Some mailing lists (e.g. git@vger.kernel.org) accept messages
via Bcc: and possibly other things which get rejected by
the strict PublicInbox::Filter rules.  So rely on ssoma-mda

This prefers a recent revision of ssoma-mda (commit 7fce38e9
onwards) to display subject/author/date information in the
commit message.
Diffstat (limited to 'scripts')
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/import_slrnspool b/scripts/import_slrnspool
index ea7a97bf..b3a1b1d8 100755
--- a/scripts/import_slrnspool
+++ b/scripts/import_slrnspool
@@ -17,11 +17,10 @@ sub usage { "Usage:\n".join('',grep(/\t/, `head -n 10 $0`)) }
 my $spool = shift @ARGV or die usage();
 my $recipient = $ENV{ORIGINAL_RECIPIENT};
 defined $recipient or die usage();
-my @mda = qw(public-inbox-mda);
 my $config = PublicInbox::Config->new;
 my $cfg = $config->lookup($recipient);
 defined $cfg or exit(1);
-use Data::Dumper; print STDERR Dumper($cfg);
+my @mda = (qw(ssoma-mda -1), $cfg->{mainrepo});
 sub get_min {
         my ($cfg) = @_;