Skip to content

pop3d.8

Manvendra Bhangui edited this page Feb 25, 2024 · 4 revisions

NAME

pop3d - The Courier POP3 server

SYNOPSIS

/usr/libexec/indimail/couriertcpd {couriertcpd options} {/usr/sbin/pop3login} [modules...] {/usr/bin/pop3d} {./Maildir}

/usr/bin/pop3d {./Maildir}

DESCRIPTION

This is a simple POP3 server for Maildirs.

Note

The couriertcpd, pop3login, and pop3d modules may be installed elsewhere than indicated here.

pop3login is usually started by couriertcpd. It already expects that a POP3 client is connected to standard input and output, presumably via a network socket. pop3login reads the POP3 userid and password, then runs the authentication modules. The remaining arguments are passed along as arguments to modules.

modules is one or more authentication modules (see the authlib(7)[1] manual page).

Each authentication modules runs the program specified by its first argument, allowing the authentication modules to be chained. The last program in the chain is pop3d , which provides the actual POP3 service. In accordance with the authentication protocol, as described in authlib(7)[1]pop3d reads file descriptor 3 to see if the userid/password has been succesfully validated. If not, pop3d terminates.

Otherwise, pop3d expects to be already running under the appropriate user and group id, with its current directory set to the accounts home directory.

The first order of business is to find the accounts Maildir. If the environment variable MAILDIR is set, thats where we go. That should be the pathname to the accounts Maildir. The environment variable MAILDIR may be set by the authentication module. If MAILDIR is not set, pop3d uses its first argument. Usually, the default maildir is $HOME/Maildir, therefore the first argument to pop3d is "./Maildir".

SEE ALSO

authlib(7)[1] userdb(8)[2].

AUTHOR Sam Varshavchik

Author

NOTES 1. authlib(7) [set $man.base.url.for.relative.links]/authlib.html 2. userdb(8) [set $man.base.url.for.relative.links]/userdb.html

Clone this wiki locally