Authentication Module, POPAuth

POPAuth is a POP proxy authentication module. POPAuth can be used when it is desirable to authenticate against one or more POP servers.

When passed a username in the form user[@[server]][:port], POPAuth will authenticate against the specified POP server (if permitted), and allow access if authentication with the POP server is sucessful. A default domain can be specified, allowing local users to be authenticated using a simple username. Aliases can also be used to allow users to login using their e-mail address or a simplified server name.

Installing and Setup

Some applications come with POPAuth already built. If you have not got a build and/or require the lastest code it can be downloaded from the one of the links below:

Source: Not Available  
Solaris popauth_10_solaris7_sparc.Z 49k
FreeBSD 4 popauth_11_freebsd4.Z 23k
Linux (Libc6) popauth_11_linuxlibc6_x86.Z 47k
Windows 75k

Configuration Options:

Creating a configuration file (popauth.ini) is optional. The file is named after the binary (with a .ini extension) so multiple instances may use different configurations.
NOTE: By default, POPAuth will allow authentication against ANY POP server specified as part of the user name.

DEFAULT   Specifies a default domain to use if one isn't specified.
DOMAINS !*,, Wildcard list of domains to accept or reject.
ALIAS Alias for domains. Can be used to allow logins based on e-mail address.
AUTHDOM Domains to send "user name@domain" on login, instead of default "user name". A "*" or blank setting indicates all domains.

Command Line Options:

-path Tells POPAuth where to create it's logfile and where to find it's config file.

POPAuth Usernames

The username passed to POPAuth should be in the form user[@[server]][:port]. That is, it should include the username on the POP server, an optional hostname and an optional port. If no default server is specified, the hostname is required. eg:

To authenticate against the default server, users would enter as their username -
When authenticating against a server other than the default -
If the POP server is listening on a port other than 110 (7110 in this example) -

Supported Commands

The commands below are the list of commands that this module supports. For a full description about the command see Authentication Protocol

Command Parameters
check <user> <pass>
lookup <user>