I need a plugin for the open source project Gallery2 - [login to view URL]
The plugin will authenticate a login against a POP3 server (provisioning the user on first login).
ADD'L Comment - To clarify - all logins for a user (first and subsequent) will be authenticated against the POP3 server. If this is the first login, the plugin will probably have to create a user record in Gallery2 using the email address as the userid. But the password should not be stored in Gallery2 as it may change on the POP3 server without the knowledge of Gallery2.
## Deliverables
I am attaching a php script that purports to authenticate against a POP3 server (not Gallery2 related.)
The name of the server should be a variable in the plugin, e.g. $pop3server = "[login to view URL]".