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.
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) = @_;