MAKEVPOPDB(1)              OpenBSD Reference Manual              MAKEVPOPDB(1)



NAME
       makevpopdb - Creates the vpop database for cucipop

SYNOPSIS
       /usr/local/libexec/makevpopdb dbasefile

DESCRIPTION
       Makevpopdb creates the vpop database which is used by cucipop(8) to
       determine authenticate virtually hosted popusers using both the PASS
       and APOP authentication methods.

       Makevpopdb reads from stdin and will create and overwrite the
       databasefile specified as the first argument.  The expected dataformat
       on stdin is:

              virtual.dom.ain/user      cleartextpassword

       The entries must be separated from each other by a single tab, no other
       random whitespace is allowed.

FILES
       /etc/mail/vpop.db      typical virtual host authentication database
                              used by cucipop(8)

SEE ALSO
       cucipop(8)

BUGS
       The input file format is a bit strict, too strict perhaps.  But since
       it's being generated by a program in most cases, who cares?

NOTES
       When creating the database, the regular umask will be paid attention
       to.  It is critically important to make sure that the generated
       database is not readable by anyone unauthorised, since the generated
       database contains cleartext passwords (albeit very crudely two-way
       encrypted).

       In order to ensure seamless transitions to a new database, it is
       necessary to create the new database in a different file as the final
       dbase file, then rename it after the database has been created and
       filled.

SOURCE
       This program is part of the cucipop distribution.

AUTHOR
       Stephen R. van den Berg, Cubic Circle, The Netherlands
              <srb@cuci.nl>



BuGless                           1998/05/10                     MAKEVPOPDB(1)
