use PublicInbox::GitAsyncCat;
use Text::ParseWords qw(parse_line);
use Errno qw(EAGAIN);
-use PublicInbox::IMAPsearchqp;
my $Address;
for my $mod (qw(Email::Address::XS Mail::Address)) {
sub parse_imap_query ($$) {
my ($self, $query) = @_;
+ # IMAPsearchqp gets loaded in IMAPD->refresh_groups
my $q = PublicInbox::IMAPsearchqp::parse($self, $query);
if (ref($q)) {
my $max = $self->{ibx}->over(1)->max;
sub refresh_groups {
my ($self, $sig) = @_;
my $pi_cfg = PublicInbox::Config->new;
+ require PublicInbox::IMAPsearchqp;
$self->{mailboxes} = $pi_cfg->{-imap_mailboxes} // do {
my $mailboxes = $self->{mailboxes} = {};
my $cache = eval { $pi_cfg->ALL->misc->nntpd_cache_load } // {};
like($x, qr/\Adataready\0+\z/, 'got dataready accf for pop3s');
$x = getsockopt($stls, IPPROTO_TCP,
$PublicInbox::Daemon::SO_ACCEPTFILTER);
- is($x, undef, 'no BSD accept filter for plain IMAP');
+ is($x, undef, 'no BSD accept filter for plain POP3');
};
$td->kill;