Apache::AuthenIMAP provides basic authentication services for Apache web servers with the mod_perl extension. It authenticates the user against an IMAP server and performs authorization checks using local information (/etc/group or NIS maps).
The latest version and documentation should soon be on a CPAN mirror near you.