Apache::AuthPOP3 - Authentication and Authorization via POP3
# In httpd.conf or startup.pl: PerlModule Apache::AuthDBI # In httpd.conf or .htaccess: <Location /protected> AuthName POP3 AuthType Basic PerlAuthenHandler Apache::AuthPOP3 PerlSetVar MailHost pop.example.com PerlSetVar UserMap pop3user1=>realname1,pop3user2=>realname2 Require user pop3user1 pop3user2 pop3user3 pop3user4 # Require valid-user </Location>
This module allows authentication and authorization against a POP3 server.
Received username and password are looked up in the cache. If nothing was stored in the cache with that particular username and password within the past two minutes, they are passed to the POP3 server and cached once authenticated; SHA1 checksum of password is used in caching.
After being authorized, the username or the name that maps to it based on the UserMap configuration is used to set the remote user.
Defines the POP3 server to authenticate against.
If defined, the remote user is set based on this.
<sherwin at cpan.org>
Copyright 2006 Sherwin Daganato, all rights reserved.