How To Install cyrus-imapd.x86_64 on Amazon Linux 2

In this tutorial we learn how to install cyrus-imapd.x86_64 in Amazon Linux 2. cyrus-imapd.x86_64 is A high-performance mail server with IMAP, POP3, NNTP and SIEVE

Introduction

In this tutorial we learn how to install cyrus-imapd.x86_64 on Amazon Linux 2.

What is cyrus-imapd.x86_64

The cyrus-imapd package contains the core of the Cyrus IMAP server. It is a scaleable enterprise mail system designed for use from small to large enterprise environments using standards-based internet mail technologies. A full Cyrus IMAP implementation allows a seamless mail and bulletin board environment to be set up across multiple servers. It differs from other IMAP server implementations in that it is run on “sealed” servers, where users are not normally permitted to log in and have no system account on the server. The mailbox database is stored in parts of the file system that are private to the Cyrus IMAP server. All user access to mail is through software using the IMAP, POP3 or KPOP protocols. It also includes support for virtual domains, NNTP, mailbox annotations, and much more. The private mailbox database design gives the server large advantages in efficiency, scalability and administratability. Multiple concurrent read/write connections to the same mailbox are permitted. The server supports access control lists on mailboxes and storage quotas on mailbox hierarchies. The Cyrus IMAP server supports the IMAP4rev1 protocol described in RFC 3501. IMAP4rev1 has been approved as a proposed standard. It supports any authentication mechanism available from the SASL library, imaps/pop3s/nntps (IMAP/POP3/NNTP encrypted using SSL and TLSv1) can be used for security. The server supports single instance store where possible when an email message is addressed to multiple recipients, SIEVE provides server side email filtering.

We can use yum to install cyrus-imapd.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install cyrus-imapd.x86_64.

Install cyrus-imapd.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install cyrus-imapd.x86_64 using yum by running the following command:

sudo yum -y install cyrus-imapd.x86_64

How To Uninstall cyrus-imapd.x86_64 on Amazon Linux 2

To uninstall only the cyrus-imapd.x86_64 package we can use the following command:

sudo yum remove cyrus-imapd.x86_64

cyrus-imapd.x86_64 Package Contents on Amazon Linux 2

/etc/cron.daily/cyrus-imapd
/etc/cyrus.conf
/etc/imapd.conf
/etc/logrotate.d/cyrus-imapd
/etc/pam.d/csync
/etc/pam.d/imap
/etc/pam.d/lmtp
/etc/pam.d/mupdate
/etc/pam.d/nntp
/etc/pam.d/pop
/etc/pam.d/sieve
/etc/pki/cyrus-imapd
/etc/pki/cyrus-imapd/cyrus-imapd.pem
/etc/sysconfig/cyrus-imapd
/usr/lib/cyrus-imapd
/usr/lib/cyrus-imapd/arbitron
/usr/lib/cyrus-imapd/arbitronsort.pl
/usr/lib/cyrus-imapd/chk_cyrus
/usr/lib/cyrus-imapd/convert-sieve.pl
/usr/lib/cyrus-imapd/ctl_cyrusdb
/usr/lib/cyrus-imapd/ctl_deliver
/usr/lib/cyrus-imapd/ctl_mboxlist
/usr/lib/cyrus-imapd/cvt_cyrusdb
/usr/lib/cyrus-imapd/cvt_cyrusdb_all
/usr/lib/cyrus-imapd/cyr_dbtool
/usr/lib/cyrus-imapd/cyr_df
/usr/lib/cyrus-imapd/cyr_expire
/usr/lib/cyrus-imapd/cyr_sequence
/usr/lib/cyrus-imapd/cyr_synclog
/usr/lib/cyrus-imapd/cyr_systemd_helper
/usr/lib/cyrus-imapd/cyr_userseen
/usr/lib/cyrus-imapd/cyrdump
/usr/lib/cyrus-imapd/cyrfetchnews
/usr/lib/cyrus-imapd/cyrus-master
/usr/lib/cyrus-imapd/deliver
/usr/lib/cyrus-imapd/dohash
/usr/lib/cyrus-imapd/fud
/usr/lib/cyrus-imapd/idled
/usr/lib/cyrus-imapd/imapd
/usr/lib/cyrus-imapd/ipurge
/usr/lib/cyrus-imapd/lmtpd
/usr/lib/cyrus-imapd/lmtpproxyd
/usr/lib/cyrus-imapd/masssievec
/usr/lib/cyrus-imapd/mbexamine
/usr/lib/cyrus-imapd/mbpath
/usr/lib/cyrus-imapd/migrate-metadata
/usr/lib/cyrus-imapd/mkimap
/usr/lib/cyrus-imapd/mknewsgroups
/usr/lib/cyrus-imapd/mupdate
/usr/lib/cyrus-imapd/mupdate-loadgen.pl
/usr/lib/cyrus-imapd/nntpd
/usr/lib/cyrus-imapd/notifyd
/usr/lib/cyrus-imapd/pop3d
/usr/lib/cyrus-imapd/proxyd
/usr/lib/cyrus-imapd/ptdump
/usr/lib/cyrus-imapd/ptexpire
/usr/lib/cyrus-imapd/ptloader
/usr/lib/cyrus-imapd/quota
/usr/lib/cyrus-imapd/reconstruct
/usr/lib/cyrus-imapd/rehash
/usr/lib/cyrus-imapd/sievec
/usr/lib/cyrus-imapd/sieved
/usr/lib/cyrus-imapd/smmapd
/usr/lib/cyrus-imapd/squatter
/usr/lib/cyrus-imapd/sync_client
/usr/lib/cyrus-imapd/sync_reset
/usr/lib/cyrus-imapd/sync_server
/usr/lib/cyrus-imapd/timsieved
/usr/lib/cyrus-imapd/tls_prune
/usr/lib/cyrus-imapd/translatesieve
/usr/lib/cyrus-imapd/undohash
/usr/lib/cyrus-imapd/unexpunge
/usr/lib/cyrus-imapd/upgradesieve
/usr/lib/systemd/system/cyrus-imapd-keygen.service
/usr/lib/systemd/system/cyrus-imapd.service
/usr/libexec/cyrus-imapd-keygen.sh
/usr/share/cyrus-imapd
/usr/share/cyrus-imapd/rpm
/usr/share/cyrus-imapd/rpm/db.cfg
/usr/share/cyrus-imapd/rpm/magic
/usr/share/doc/cyrus-imapd-2.4.22
/usr/share/doc/cyrus-imapd-2.4.22/COPYRIGHT
/usr/share/doc/cyrus-imapd-2.4.22/README
/usr/share/doc/cyrus-imapd-2.4.22/README.rpm
/usr/share/doc/cyrus-imapd-2.4.22/ag.html
/usr/share/doc/cyrus-imapd-2.4.22/altnamespace.html
/usr/share/doc/cyrus-imapd-2.4.22/anoncvs.html
/usr/share/doc/cyrus-imapd-2.4.22/bugs.html
/usr/share/doc/cyrus-imapd-2.4.22/changes.html
/usr/share/doc/cyrus-imapd-2.4.22/conf
/usr/share/doc/cyrus-imapd-2.4.22/conf/cmu-backend.conf
/usr/share/doc/cyrus-imapd-2.4.22/conf/cmu-frontend.conf
/usr/share/doc/cyrus-imapd-2.4.22/conf/normal.conf
/usr/share/doc/cyrus-imapd-2.4.22/conf/prefork.conf
/usr/share/doc/cyrus-imapd-2.4.22/conf/small.conf
/usr/share/doc/cyrus-imapd-2.4.22/contrib
/usr/share/doc/cyrus-imapd-2.4.22/cyrusv2.mc
/usr/share/doc/cyrus-imapd-2.4.22/faq.html
/usr/share/doc/cyrus-imapd-2.4.22/feedback.html
/usr/share/doc/cyrus-imapd-2.4.22/index.html
/usr/share/doc/cyrus-imapd-2.4.22/install-admin-mb.html
/usr/share/doc/cyrus-imapd-2.4.22/install-auth.html
/usr/share/doc/cyrus-imapd-2.4.22/install-compile.html
/usr/share/doc/cyrus-imapd-2.4.22/install-configure.html
/usr/share/doc/cyrus-imapd-2.4.22/install-murder.html
/usr/share/doc/cyrus-imapd-2.4.22/install-netnews.html
/usr/share/doc/cyrus-imapd-2.4.22/install-perf.html
/usr/share/doc/cyrus-imapd-2.4.22/install-prereq.html
/usr/share/doc/cyrus-imapd-2.4.22/install-replication.html
/usr/share/doc/cyrus-imapd-2.4.22/install-sieve.html
/usr/share/doc/cyrus-imapd-2.4.22/install-snmpmon.html
/usr/share/doc/cyrus-imapd-2.4.22/install-testing.html
/usr/share/doc/cyrus-imapd-2.4.22/install-upgrade.html
/usr/share/doc/cyrus-imapd-2.4.22/install-virtdomains.html
/usr/share/doc/cyrus-imapd-2.4.22/install.html
/usr/share/doc/cyrus-imapd-2.4.22/internal
/usr/share/doc/cyrus-imapd-2.4.22/internal/bytecode.html
/usr/share/doc/cyrus-imapd-2.4.22/internal/database-formats.html
/usr/share/doc/cyrus-imapd-2.4.22/internal/hacking
/usr/share/doc/cyrus-imapd-2.4.22/internal/improved_mboxlist_sort.html
/usr/share/doc/cyrus-imapd-2.4.22/internal/index-api.html
/usr/share/doc/cyrus-imapd-2.4.22/internal/index.html
/usr/share/doc/cyrus-imapd-2.4.22/internal/internationalization.html
/usr/share/doc/cyrus-imapd-2.4.22/internal/locking
/usr/share/doc/cyrus-imapd-2.4.22/internal/mailbox-api.html
/usr/share/doc/cyrus-imapd-2.4.22/internal/mailbox-format.html
/usr/share/doc/cyrus-imapd-2.4.22/internal/master-state-machine.fig
/usr/share/doc/cyrus-imapd-2.4.22/internal/namelocks.html
/usr/share/doc/cyrus-imapd-2.4.22/internal/prot-events
/usr/share/doc/cyrus-imapd-2.4.22/internal/prot.html
/usr/share/doc/cyrus-imapd-2.4.22/internal/replication_examples.html
/usr/share/doc/cyrus-imapd-2.4.22/internal/replication_protocol.html
/usr/share/doc/cyrus-imapd-2.4.22/internal/specials.html
/usr/share/doc/cyrus-imapd-2.4.22/internal/var_directory_structure.html
/usr/share/doc/cyrus-imapd-2.4.22/mailing-list.html
/usr/share/doc/cyrus-imapd-2.4.22/man.html
/usr/share/doc/cyrus-imapd-2.4.22/murder.fig
/usr/share/doc/cyrus-imapd-2.4.22/murder.png
/usr/share/doc/cyrus-imapd-2.4.22/netnews.fig
/usr/share/doc/cyrus-imapd-2.4.22/netnews.png
/usr/share/doc/cyrus-imapd-2.4.22/notes.html
/usr/share/doc/cyrus-imapd-2.4.22/os.html
/usr/share/doc/cyrus-imapd-2.4.22/overview.html
/usr/share/doc/cyrus-imapd-2.4.22/questions.html
/usr/share/doc/cyrus-imapd-2.4.22/readme.html
/usr/share/doc/cyrus-imapd-2.4.22/sieve-protocol.html
/usr/share/doc/cyrus-imapd-2.4.22/sieve.html
/usr/share/doc/cyrus-imapd-2.4.22/specs.html
/usr/share/doc/cyrus-imapd-2.4.22/text
/usr/share/doc/cyrus-imapd-2.4.22/text/ag
/usr/share/doc/cyrus-imapd-2.4.22/text/altnamespace
/usr/share/doc/cyrus-imapd-2.4.22/text/anoncvs
/usr/share/doc/cyrus-imapd-2.4.22/text/bugs
/usr/share/doc/cyrus-imapd-2.4.22/text/changes
/usr/share/doc/cyrus-imapd-2.4.22/text/faq
/usr/share/doc/cyrus-imapd-2.4.22/text/feedback
/usr/share/doc/cyrus-imapd-2.4.22/text/index
/usr/share/doc/cyrus-imapd-2.4.22/text/install
/usr/share/doc/cyrus-imapd-2.4.22/text/install-admin-mb
/usr/share/doc/cyrus-imapd-2.4.22/text/install-auth
/usr/share/doc/cyrus-imapd-2.4.22/text/install-compile
/usr/share/doc/cyrus-imapd-2.4.22/text/install-configure
/usr/share/doc/cyrus-imapd-2.4.22/text/install-murder
/usr/share/doc/cyrus-imapd-2.4.22/text/install-netnews
/usr/share/doc/cyrus-imapd-2.4.22/text/install-perf
/usr/share/doc/cyrus-imapd-2.4.22/text/install-prereq
/usr/share/doc/cyrus-imapd-2.4.22/text/install-replication
/usr/share/doc/cyrus-imapd-2.4.22/text/install-sieve
/usr/share/doc/cyrus-imapd-2.4.22/text/install-snmpmon
/usr/share/doc/cyrus-imapd-2.4.22/text/install-testing
/usr/share/doc/cyrus-imapd-2.4.22/text/install-upgrade
/usr/share/doc/cyrus-imapd-2.4.22/text/install-virtdomains
/usr/share/doc/cyrus-imapd-2.4.22/text/mailing-list
/usr/share/doc/cyrus-imapd-2.4.22/text/man
/usr/share/doc/cyrus-imapd-2.4.22/text/notes
/usr/share/doc/cyrus-imapd-2.4.22/text/os
/usr/share/doc/cyrus-imapd-2.4.22/text/overview
/usr/share/doc/cyrus-imapd-2.4.22/text/questions
/usr/share/doc/cyrus-imapd-2.4.22/text/readme
/usr/share/doc/cyrus-imapd-2.4.22/text/sieve
/usr/share/doc/cyrus-imapd-2.4.22/text/sieve-protocol
/usr/share/doc/cyrus-imapd-2.4.22/text/specs
/usr/share/man/man5/cyrus.conf.5.gz
/usr/share/man/man5/imapd.conf.5.gz
/usr/share/man/man5/krb.equiv.5.gz
/usr/share/man/man8/arbitron.8.gz
/usr/share/man/man8/chk_cyrus.8.gz
/usr/share/man/man8/ctl_cyrusdb.8.gz
/usr/share/man/man8/ctl_deliver.8.gz
/usr/share/man/man8/ctl_mboxlist.8.gz
/usr/share/man/man8/cvt_cyrusdb.8.gz
/usr/share/man/man8/cyr_dbtool.8.gz
/usr/share/man/man8/cyr_df.8.gz
/usr/share/man/man8/cyr_expire.8.gz
/usr/share/man/man8/cyr_synclog.8.gz
/usr/share/man/man8/cyrfetchnews.8.gz
/usr/share/man/man8/cyrus-master.8.gz
/usr/share/man/man8/deliver.8.gz
/usr/share/man/man8/fud.8.gz
/usr/share/man/man8/idled.8.gz
/usr/share/man/man8/imapd.8cyrus.gz
/usr/share/man/man8/ipurge.8.gz
/usr/share/man/man8/lmtpd.8.gz
/usr/share/man/man8/mbexamine.8.gz
/usr/share/man/man8/mbpath.8.gz
/usr/share/man/man8/nntpd.8.gz
/usr/share/man/man8/notifyd.8.gz
/usr/share/man/man8/pop3d.8cyrus.gz
/usr/share/man/man8/quota.8.gz
/usr/share/man/man8/reconstruct.8.gz
/usr/share/man/man8/rmnews.8.gz
/usr/share/man/man8/smmapd.8.gz
/usr/share/man/man8/squatter.8.gz
/usr/share/man/man8/sync_client.8.gz
/usr/share/man/man8/sync_reset.8.gz
/usr/share/man/man8/sync_server.8.gz
/usr/share/man/man8/timsieved.8.gz
/usr/share/man/man8/tls_prune.8.gz
/usr/share/man/man8/unexpunge.8.gz
/var/lib/imap
/var/lib/imap/backup
/var/lib/imap/db
/var/lib/imap/log
/var/lib/imap/md5
/var/lib/imap/meta
/var/lib/imap/msg
/var/lib/imap/proc
/var/lib/imap/ptclient
/var/lib/imap/quota
/var/lib/imap/rpm
/var/lib/imap/sieve
/var/lib/imap/socket
/var/lib/imap/sync
/var/lib/imap/user
/var/spool/imap

References

Summary

In this tutorial we learn how to install cyrus-imapd.x86_64 on Amazon Linux 2 using yum.