commands/vsetup.html
author "Tomas Zeman <tzeman@volny.cz>"
Wed, 16 Jan 2008 22:39:43 +0100
changeset 0 6f7a81934006
child 2 b3afb9f1e801
permissions -rw-r--r--
Imported vmailmgr-0.96.9

<HTML>
<HEAD>
<TITLE>vsetup - Sets up a virtual domain for its first use</TITLE>
<LINK REV="made" HREF="mailto:root@porky.devel.redhat.com">
</HEAD>

<BODY>

<!-- INDEX BEGIN -->
<!--

<UL>

	<LI><A HREF="#NAME">NAME</A>
	<LI><A HREF="#SYNOPSIS">SYNOPSIS</A>
	<LI><A HREF="#DESCRIPTION">DESCRIPTION</A>
	<LI><A HREF="#OPTIONS">OPTIONS</A>
	<LI><A HREF="#RETURN_VALUE">RETURN VALUE</A>
	<LI><A HREF="#SEE_ALSO">SEE ALSO</A>
	<LI><A HREF="#NOTES">NOTES</A>
	<LI><A HREF="#AUTHORS">AUTHORS</A>
</UL>
-->
<!-- INDEX END -->

<P>
<H1><A NAME="NAME">NAME</A></H1>
<P>
vsetup - Sets up a virtual domain for its first use

<P>
<HR>
<H1><A NAME="SYNOPSIS">SYNOPSIS</A></H1>
<P>
<STRONG>vsetup</STRONG>
[<STRONG>--quiet</STRONG>]

<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>
<HR>
<H1><A NAME="OPTIONS">OPTIONS</A></H1>
<DL>
<DT><STRONG><A NAME="item__quiet">--quiet</A></STRONG><DD>
<P>
Suppress all status messages.

</DL>
<P>
<HR>
<H1><A NAME="RETURN_VALUE">RETURN VALUE</A></H1>
<P>
0 if all files and directories are successfully created, 1 otherwise.

<P>
<HR>
<H1><A NAME="SEE_ALSO">SEE ALSO</A></H1>
<P>
<CODE>vdeliver(1),</CODE> <CODE>vmailmgrd(8)</CODE>

<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>
<HR>
<H1><A NAME="AUTHORS">AUTHORS</A></H1>
<P>
Bruce Guenter &lt;<A HREF="mailto:bruceg@em.ca">bruceg@em.ca</A>&gt;

</BODY>

</HTML>