From ArchWiki

From Wikipedia:

UW IMAP is the reference server implementation of the IMAP protocol, developed at the University of Washington.

Although it has not been actively developed in many years, it still works well as a basic IMAPS server. (For other IMAP servers, see Mail server#Software.)


Install c-clientAUR. It does not use a configuration file.

Note: c-client is a split package containing both UW IMAP and its client, you can install both or just one of the packages depending on your needs.


Although it was originally designed to be used with inetd, on modern Arch systems a better solution is to use a systemd socket file:

Description=IMAP Server Activation Socket



Also, a corresponding .service file needs to be created:

Description=IMAP Server


UW-IMAPD uses PAM, so a PAM authorization file will also need to be created. This example will provide authentication using standard system passwords:

auth		required	pam_unix.so
account		required	pam_unix.so
session		required	pam_unix.so

Enable and start imaps.socket and test.


A generic SSL certificate and key will be created at /etc/ssl/certs/imapd.pem if it does not yet exist. This can be replaced with a signed certificate for the specific server.

Warning: Self signed certificates, like the one automatically generated, are prone to MITM attacks, ensure you use a signed certificate on a production server.