diff options
author | Eric Wong <e@yhbt.net> | 2020-06-14 00:25:03 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-06-15 06:07:52 +0000 |
commit | 4042599799a3706d1b1c0589675b07cab610505a (patch) | |
tree | ca8cbd49ecbf6dd11ca4fd20e9fa275ec62a3886 /t/imapd.t | |
parent | fc6c7191daf71b8b1f6b45638ffcb1c6b2057636 (diff) | |
download | public-inbox-4042599799a3706d1b1c0589675b07cab610505a.tar.gz |
IMAP requires either the Email::Address::XS or Mail::Address package (part of perl-MailTools RPM or libmailtools-perl deb); and Email::Address::XS is not officially packaged for some older distros, most notably CentOS 7.x.
Diffstat (limited to 't/imapd.t')
-rw-r--r-- | t/imapd.t | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -8,7 +8,8 @@ use Time::HiRes (); use PublicInbox::TestCommon; use PublicInbox::Config; use PublicInbox::Spawn qw(which); -require_mods(qw(DBD::SQLite Mail::IMAPClient Mail::IMAPClient::BodyStructure)); +require_mods(qw(DBD::SQLite Mail::IMAPClient Mail::IMAPClient::BodyStructure + Email::Address::XS||Mail::Address)); my $imap_client = 'Mail::IMAPClient'; my $can_compress = $imap_client->can('compress'); if ($can_compress) { # hope this gets fixed upstream, soon |