From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-2.9 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, T_RP_MATCHES_RCVD shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: meta@public-inbox.org Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 4DDD31F8C2; Sun, 11 Jan 2015 11:07:10 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Cc: Eric Wong Subject: [PATCH] import_slrnspool: use ssoma-mda instead Date: Sun, 11 Jan 2015 11:07:08 +0000 Message-Id: <1420974428-21492-1-git-send-email-e@80x24.org> X-Mailer: git-send-email 2.2.0.35.g882592c List-Id: 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 instead. This prefers a recent revision of ssoma-mda (commit 7fce38e9 onwards) to display subject/author/date information in the commit message. --- scripts/import_slrnspool | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/import_slrnspool b/scripts/import_slrnspool index ea7a97b..b3a1b1d 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) = @_; -- EW