Tetsu Ushijima

The qmail-pop3d-conf program

qmail-pop3d-conf sets up a qmail POP3 service.

This is a reference page. See the how-to page for the step-by-step instructions.


qmail-pop3d-conf checkpassword logacct D ip

qmail-pop3d-conf creates a service directory D that runs a chain of qmail-popup, checkpassword, and qmail-pop3d, under tcpserver. The name D must start with a slash and must not contain any special characters. Normally D is /var/qmail/service/pop3d.

You can run the service under svscan by creating a symbolic link in the svscan directory:

ln -s D /service

The service will start within five seconds, and will be restarted upon reboot. You can use svc to control the service.

qmail-pop3d-conf arranges for tcpserver to listen for TCP connections on port 110 of ip. ip is optional; if it is not supplied, qmail-pop3d-conf arranges for tcpserver to listen on all local IP addresses. It sets up D/tcp in tcprules format to control access to qmail-pop3d; initially all access is denied. It also sets up D/Makefile to compile tcp into tcp.cdb for tcpserver.

qmail-pop3d-conf arranges for qmail-popup to run checkpassword for authentication. checkpassword must have the same interface as the checkpassword program.

qmail-pop3d-conf arranges for qmail-pop3d to retrieve mail messages from the user's $HOME/Maildir directory.

qmail-pop3d-conf creates an automatically rotated log directory in D/log/main. The logs are owned by logacct. The corresponding multilog processes run under the uid and gid of logacct. The name logacct must not contain any special characters. Normally logacct is qmaill.