To authenticate your users against an existing IMAP (e-mail) server, edit user.txt/ezproxy.usr and add a line like this:
Replace "imapserv.mylib.org" with the appropriate host name for the IMAP server. This change takes effect immediately, without the need to restart EZproxy. When EZproxy receives authentication requests, it will attempt to connect to the IMAP server, and if the IMAP server indicates login success, then the remote user will be authenticated and allowed to proceed.
If your user uses Secure IMAP (imaps), indicate this by adding "ssl," before imap, such as:
In EZproxy prior to 4.0, you must also have performed SSL configuration before you can use Secure IMAP. In EZproxy 4.0 and later, this prerequisite was removed.