12 Mar 2006 16:26:00 UTC
- Distribution: Apache-AuthPOP3
- Module version: 0.02
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (350 / 3 / 0)
- KwaliteeBus factor: 1
- 25.23% Coverage
- License: unknown
- Activity24 month
- Download (3.03KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionSHERWIN Sherwin Daganato
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.
- MailHost (Required)
Defines the POP3 server to authenticate against.
- UserMap (Optional)
If defined, the remote user is set based on this.
<sherwin at cpan.org>
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.
Module Install Instructions
To install Apache::AuthPOP3, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Apache::AuthPOP3
For more information on module installation, please visit the detailed CPAN module installation guide.