How To Install imaptest on Fedora 34

imaptest is Generic IMAP server compliancy tester

Introduction

In this tutorial we learn how to install imaptest on Fedora 34.

What is imaptest

ImapTest is a generic IMAP server compliancy tester that works with all IMAP servers. It supports stress testing with state tracking, scripted testing and benchmarking. When stress testing with state tracking ImapTest sends random commands to the server and verifies that server’s output looks correct. Using the scripted testing ImapTest runs a list of predefined scripted tests and verifies that server returns expected output. Examples and details are provided online at

We can use yum or dnf to install imaptest on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install imaptest.

Install imaptest on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install imaptest using dnf by running the following command:

sudo dnf -y install imaptest

Install imaptest on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install imaptest using yum by running the following command:

sudo yum -y install imaptest

How To Uninstall imaptest on Fedora 34

To uninstall only the imaptest package we can use the following command:

sudo dnf remove imaptest

imaptest Package Contents on Fedora 34

/usr/bin/imaptest
/usr/lib/.build-id
/usr/lib/.build-id/69
/usr/lib/.build-id/69/a8fdf5146bd0d435391131194fc86fafc63337
/usr/share/doc/imaptest
/usr/share/doc/imaptest/AUTHORS
/usr/share/doc/imaptest/ChangeLog
/usr/share/doc/imaptest/pop3-profile.conf
/usr/share/doc/imaptest/profile.conf
/usr/share/imaptest
/usr/share/imaptest/tests
/usr/share/imaptest/tests/append
/usr/share/imaptest/tests/broken
/usr/share/imaptest/tests/broken/search-intdate
/usr/share/imaptest/tests/broken/search-intdate.mbox
/usr/share/imaptest/tests/close
/usr/share/imaptest/tests/copy
/usr/share/imaptest/tests/default.mbox
/usr/share/imaptest/tests/expunge
/usr/share/imaptest/tests/expunge2
/usr/share/imaptest/tests/fetch
/usr/share/imaptest/tests/fetch-body
/usr/share/imaptest/tests/fetch-body.mbox
/usr/share/imaptest/tests/fetch-envelope
/usr/share/imaptest/tests/fetch-envelope.mbox
/usr/share/imaptest/tests/list
/usr/share/imaptest/tests/listext
/usr/share/imaptest/tests/search-addresses
/usr/share/imaptest/tests/search-addresses.mbox
/usr/share/imaptest/tests/search-body
/usr/share/imaptest/tests/search-body.mbox
/usr/share/imaptest/tests/search-context-update
/usr/share/imaptest/tests/search-context-update2
/usr/share/imaptest/tests/search-date
/usr/share/imaptest/tests/search-date.mbox
/usr/share/imaptest/tests/search-flags
/usr/share/imaptest/tests/search-header
/usr/share/imaptest/tests/search-header.mbox
/usr/share/imaptest/tests/search-sets
/usr/share/imaptest/tests/search-size
/usr/share/imaptest/tests/search-size.mbox
/usr/share/imaptest/tests/select
/usr/share/imaptest/tests/select.mbox
/usr/share/imaptest/tests/sort-addresses
/usr/share/imaptest/tests/sort-addresses.mbox
/usr/share/imaptest/tests/sort-arrival
/usr/share/imaptest/tests/sort-arrival.mbox
/usr/share/imaptest/tests/sort-date
/usr/share/imaptest/tests/sort-date.mbox
/usr/share/imaptest/tests/sort-size
/usr/share/imaptest/tests/sort-size.mbox
/usr/share/imaptest/tests/sort-subject
/usr/share/imaptest/tests/sort-subject.mbox
/usr/share/imaptest/tests/store
/usr/share/imaptest/tests/subscribe
/usr/share/imaptest/tests/thread
/usr/share/imaptest/tests/thread.mbox
/usr/share/imaptest/tests/thread2
/usr/share/imaptest/tests/thread2.mbox
/usr/share/imaptest/tests/thread3
/usr/share/imaptest/tests/thread3.mbox
/usr/share/imaptest/tests/thread4
/usr/share/imaptest/tests/thread4.mbox
/usr/share/imaptest/tests/thread5
/usr/share/imaptest/tests/thread5.mbox
/usr/share/imaptest/tests/thread6
/usr/share/imaptest/tests/thread6.mbox
/usr/share/imaptest/tests/thread7
/usr/share/imaptest/tests/thread7.mbox
/usr/share/imaptest/tests/thread8
/usr/share/imaptest/tests/thread8.mbox
/usr/share/licenses/imaptest
/usr/share/licenses/imaptest/COPYING
/usr/share/licenses/imaptest/COPYING.MIT
/usr/bin/imaptest
/usr/lib/.build-id
/usr/lib/.build-id/83
/usr/lib/.build-id/83/9d1050349cb2e487c5c2f86707acf97d233294
/usr/share/doc/imaptest
/usr/share/doc/imaptest/AUTHORS
/usr/share/doc/imaptest/ChangeLog
/usr/share/doc/imaptest/pop3-profile.conf
/usr/share/doc/imaptest/profile.conf
/usr/share/imaptest
/usr/share/imaptest/tests
/usr/share/imaptest/tests/append
/usr/share/imaptest/tests/broken
/usr/share/imaptest/tests/broken/search-intdate
/usr/share/imaptest/tests/broken/search-intdate.mbox
/usr/share/imaptest/tests/close
/usr/share/imaptest/tests/copy
/usr/share/imaptest/tests/default.mbox
/usr/share/imaptest/tests/expunge
/usr/share/imaptest/tests/expunge2
/usr/share/imaptest/tests/fetch
/usr/share/imaptest/tests/fetch-body
/usr/share/imaptest/tests/fetch-body.mbox
/usr/share/imaptest/tests/fetch-envelope
/usr/share/imaptest/tests/fetch-envelope.mbox
/usr/share/imaptest/tests/list
/usr/share/imaptest/tests/listext
/usr/share/imaptest/tests/search-addresses
/usr/share/imaptest/tests/search-addresses.mbox
/usr/share/imaptest/tests/search-body
/usr/share/imaptest/tests/search-body.mbox
/usr/share/imaptest/tests/search-context-update
/usr/share/imaptest/tests/search-context-update2
/usr/share/imaptest/tests/search-date
/usr/share/imaptest/tests/search-date.mbox
/usr/share/imaptest/tests/search-flags
/usr/share/imaptest/tests/search-header
/usr/share/imaptest/tests/search-header.mbox
/usr/share/imaptest/tests/search-sets
/usr/share/imaptest/tests/search-size
/usr/share/imaptest/tests/search-size.mbox
/usr/share/imaptest/tests/select
/usr/share/imaptest/tests/select.mbox
/usr/share/imaptest/tests/sort-addresses
/usr/share/imaptest/tests/sort-addresses.mbox
/usr/share/imaptest/tests/sort-arrival
/usr/share/imaptest/tests/sort-arrival.mbox
/usr/share/imaptest/tests/sort-date
/usr/share/imaptest/tests/sort-date.mbox
/usr/share/imaptest/tests/sort-size
/usr/share/imaptest/tests/sort-size.mbox
/usr/share/imaptest/tests/sort-subject
/usr/share/imaptest/tests/sort-subject.mbox
/usr/share/imaptest/tests/store
/usr/share/imaptest/tests/subscribe
/usr/share/imaptest/tests/thread
/usr/share/imaptest/tests/thread.mbox
/usr/share/imaptest/tests/thread2
/usr/share/imaptest/tests/thread2.mbox
/usr/share/imaptest/tests/thread3
/usr/share/imaptest/tests/thread3.mbox
/usr/share/imaptest/tests/thread4
/usr/share/imaptest/tests/thread4.mbox
/usr/share/imaptest/tests/thread5
/usr/share/imaptest/tests/thread5.mbox
/usr/share/imaptest/tests/thread6
/usr/share/imaptest/tests/thread6.mbox
/usr/share/imaptest/tests/thread7
/usr/share/imaptest/tests/thread7.mbox
/usr/share/imaptest/tests/thread8
/usr/share/imaptest/tests/thread8.mbox
/usr/share/licenses/imaptest
/usr/share/licenses/imaptest/COPYING
/usr/share/licenses/imaptest/COPYING.MIT

References

Summary

In this tutorial we learn how to install imaptest on Fedora 34 using yum and dnf.