NAME
Apache::AuthPOP3 - Authentication and Authorization via POP3
SYNOPSIS
# 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>
DESCRIPTION
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.
CONFIGURATION
- MailHost (Required)
-
Defines the POP3 server to authenticate against.
- UserMap (Optional)
-
If defined, the remote user is set based on this.
AUTHOR
Sherwin Daganato, <sherwin at cpan.org>
SEE ALSO
COPYRIGHT & LICENSE
Copyright 2006 Sherwin Daganato, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.