From 95ff0d818a8b3b52cf846fe93dcc12cefc2520c8 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 11 Jan 2015 11:03:41 +0000 Subject: import_slrnspool: use ssoma-mda instead 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(-) (limited to 'scripts') 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) = @_; -- cgit v1.2.3-24-ge0c7