vsetup - Sets up a virtual domain for its first use

# NAME

vsetup - Sets up a virtual domain for its first use

# SYNOPSIS

vsetup [--quiet]

# DESCRIPTION

This program sets up the basic set of necessary files needed to use an account as a virtual domain with vmailmgr. The users directory is created if it does not exist. A .qmail-default file is created with the proper contents. If a .qmail-default previously existed, it is renamed to .qmail-default~. Three system aliases (`root`, `mailer-daemon`, and `postmaster`) are created to point to the configured postmaster.

# OPTIONS

--quiet

  Suppress all status messages.

# RETURN VALUE

0 if all files and directories are successfully created, 1 otherwise.

# SEE ALSO

vdeliver(1), vmailmgrd(8)

# NOTES

This program expects the environment variable `HOME` to be set, and executes a change directory to the contents of it before starting. It is also required that you change user to the domain owner before using these utilities.

# AUTHORS

Bruce Guenter <bruce@untroubled.org>