-my $ibx = {
- inboxdir => $inboxdir,
- name => $group,
- version => $version,
- -primary_address => $addr,
- indexlevel => 'basic',
-};
-$ibx = PublicInbox::Inbox->new($ibx);
-{
- local $ENV{HOME} = $home;
- my @cmd = ('-init', $group, $inboxdir, 'http://example.com/', $addr);
- push @cmd, "-V$version", '-Lbasic';
- ok(run_script(\@cmd), 'init OK');
- is(xsys(qw(git config), "--file=$home/.public-inbox/config",
- "publicinbox.$group.newsgroup", $group),
- 0, 'enabled newsgroup');
- my $len;
-
- $ibx = PublicInbox::InboxWritable->new($ibx);
- my $im = $ibx->importer(0);
-
- # ensure successful message delivery
- {
- my $mime = PublicInbox::Eml->new(<<EOF);