<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>vsetup - Sets up a virtual domain for its first use</title>
<link rev="made" href="mailto:Gentoo@lorien.untroubled.org" />
</head>
<body style="background-color: white">
<p><a name="__index__"></a></p>
<!-- INDEX BEGIN -->
<!--
<ul>
<li><a href="#name">NAME</a></li>
<li><a href="#synopsis">SYNOPSIS</a></li>
<li><a href="#description">DESCRIPTION</a></li>
<li><a href="#options">OPTIONS</a></li>
<li><a href="#return_value">RETURN VALUE</a></li>
<li><a href="#see_also">SEE ALSO</a></li>
<li><a href="#notes">NOTES</a></li>
<li><a href="#authors">AUTHORS</a></li>
</ul>
-->
<!-- INDEX END -->
<p>
</p>
<h1><a name="name">NAME</a></h1>
<p>vsetup - Sets up a virtual domain for its first use</p>
<p>
</p>
<hr />
<h1><a name="synopsis">SYNOPSIS</a></h1>
<p><strong>vsetup</strong>
[<strong>--quiet</strong>]</p>
<p>
</p>
<hr />
<h1><a name="description">DESCRIPTION</a></h1>
<p>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 <em>.qmail-default</em> file is created with the proper contents.
If a <em>.qmail-default</em> previously existed, it is renamed to
<em>.qmail-default~</em>.
Three system aliases (<code>root</code>, <code>mailer-daemon</code>, and <code>postmaster</code>)
are created to point to the configured postmaster.</p>
<p>
</p>
<hr />
<h1><a name="options">OPTIONS</a></h1>
<dl>
<dt><strong><a name="item__2d_2dquiet"><strong>--quiet</strong></a></strong><br />
</dt>
<dd>
Suppress all status messages.
</dd>
<p></p></dl>
<p>
</p>
<hr />
<h1><a name="return_value">RETURN VALUE</a></h1>
<p>0 if all files and directories are successfully created, 1 otherwise.</p>
<p>
</p>
<hr />
<h1><a name="see_also">SEE ALSO</a></h1>
<p>vdeliver(1), <code>vmailmgrd(8)</code></p>
<p>
</p>
<hr />
<h1><a name="notes">NOTES</a></h1>
<p>This program expects the environment variable <code>HOME</code> 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.</p>
<p>
</p>
<hr />
<h1><a name="authors">AUTHORS</a></h1>
<p>Bruce Guenter <<a href="mailto:bruceg@em.ca">bruceg@em.ca</a>></p>
</body>
</html>